News for hackers. Stuff that matters.
Re:Roc rewrites the compiler in Zig by christophilus on Tuesday February 04, 2025 @04:45PM (#42939285)
I've played with Hare, Zig, and Odin. Odin is my favorite. It's a fair bit faster to compile (similar to Hare), and has the nicest syntax (subjectively speaking). I wish it would get more traction. Looking forward to trying Jai if it ever makes it to GA.
Re:Roc rewrites the compiler in Zig by wolfspaw on Tuesday February 04, 2025 @07:27PM (#42941524)
Odin is the best (followed by Zig)

Odin has the best approach for "standard library" by blessing/vendoring immensely useful libraries

Odin also has the best approach for Vector Math with native Vector and Matrix types

Re:Roc rewrites the compiler in Zig by tialaramex on Tuesday February 04, 2025 @07:47PM (#42941759)
The swizzling is pretty cool, rather special purpose but it makes sense that Ginger Bill wanted this and it's Ginger Bill's language.

Odin's "standard library" stuff is very silly, it still feels like we were just copy-pasted the lead developer's "useful stuff" directory. Bill doesn't feel there's a value to actual standard libraries, so instead here's... whatever. He insists that's not what's going on here, but that doesn't change how it feels.