by Symmetry · 4y ago · 0 comments
With ARC there's no GC runtime anymore, making Nim a competitor with Rust.
Contrast to a language like Zig, which has a standard library and syntax built around the idea of manual allocators and what not, but is missing the "ease of use" of GC. Personally, I agree with GP, and like Nim's compromise of GC with a "I know better, let me do it manually" syntax, but there are domains where you want a language like Zig.
ORC adds runtime GC only for cycles, and will be the default in Nim 2.0.
https://gist.github.com/lattner/31ed37682ef1576b16bca1432ea9...