Remix.run Logo
Compiler for the B Programming Language(github.com)
67 points by ycuser2 4 days ago | 14 comments
louis771 31 minutes ago | parent | next [-]

Hate to see Tsoding was using Rust for this. Rust is as far removed from recreational programming than any other language.

paddw 23 minutes ago | parent [-]

I think Rust is quite a recreational language.

The least recreational languages are probably like Java,C#

pveierland 11 hours ago | parent | prev | next [-]

Fun to see that it implements codegen for Uxn :)

https://github.com/tsoding/b/blob/main/src/codegen/uxn.rs

https://wiki.xxiivv.com/site/uxn.html

aap_ 3 hours ago | parent | prev | next [-]

Always nice to see more B. Here's mine: https://github.com/aap/b

avmich 8 hours ago | parent | prev | next [-]

A pretty recent work: https://github.com/sergev/BCause .

treyd 15 hours ago | parent | prev | next [-]

Interesting that this is in a self-developed subset/dialect of Rust called Crust which attempts to treat it as a better C, using unsafe everywhere among other things.

kzrdude 15 hours ago | parent [-]

That's a little bit interesting. It remains then a C-like language with generics, and that sounds a lot more fun than regular C. I don't yet understand the point of avoiding references or libstd, though.

int_19h 7 hours ago | parent [-]

Avoiding references means avoiding the borrow checker, and I don't think you can use much of stdlib if you avoid references...

lkuty 27 minutes ago | parent [-]

At the beginning of one of his videos on Crust, he's trying to avoid stdlib exactly for that reason.

int_19h 7 hours ago | parent | prev | next [-]

Nice, but it really needs to be written in B and self-hosted.

elvircrn 14 hours ago | parent | prev | next [-]

Had a go at this a while back: https://github.com/elvircrn/bcomp.

DiabloD3 15 hours ago | parent | prev [-]

This is the most tsoding thing possible.

nurettin 4 hours ago | parent [-]

I have tsoding fatigue at this point. BTW are you the DiabloD3 from freenode/#sdl like 25 years ago?

DiabloD3 an hour ago | parent [-]

Yep, it is me.