News for hackers. Stuff that matters.
Re:Odin, a Pragmatic C Alternative with a Go Flavour by johnisgood on Sunday May 11, 2025 @01:36PM (#43955386)
Thanks for sharing! I think there is hope for C3, if they do not mind breaking backwards compatibility, which I hope they do not, for now!

We have similar experiences I would say. I do like Go a lot, but I rarely had to touch CGo though. The language does not get in the way of being productive. Rust seems like it does.

I would give Jai a try, too!

Have you tried Zig, or perhaps even Nim? Curious about your thoughts.

Re:Odin, a Pragmatic C Alternative with a Go Flavour by sph on Sunday May 11, 2025 @01:45PM (#43955463)
Added my comments about Zig.

Nim I played a bit with, I don’t really like the syntax but I admit I need to dive deeper. My other issue is that it is so different syntax wise to C, and sometimes so high-level, it’s hard to tell what construct is efficient, and what allocates and takes 500 instructions to run. This is pretty crucial for a low level system language.