Re:Why Zig over C for Systems Programming
by bowsamic on Friday November 13, 2026 @11:57AM
(#50486282)
It’s pretty obvious why they didn’t, they’re GC by default. That’s already enough to put people off, even if it’s “not a problem” in reality, people will just avoid it for systems programming if they hear that, they will assume all the good features need the GC
[ Parent
| on HN ]
Re:Why Zig over C for Systems Programming
by arc619 on Friday November 13, 2026 @01:03PM
(#50487312)
Nim is stack allocated by default, and you annotate types explicitly with `ref` to use the GC. Even then, the compiler elides reference counting using borrow checks, you can choose different GC options, and the GC isn't stop the world like most. You don't need to touch reference counting if you don't want to, and Nim fits embedded dev pretty well for that reason.