News for hackers. Stuff that matters.
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.
Re:Why Zig over C for Systems Programming by bowsamic on Friday November 13, 2026 @01:54PM (#50488042)
GC was the default in the earlier versions of Nim and ARC is still default today. That’s why people ignore it