3 ms·
Maybe, but libraries that you use in Nim will probably use the GC, so will many functions in the std library (I imagine). Additionally, the binary you ship will
by leshow 7y ago
Maybe, but libraries that you use in Nim will probably use the GC, so will many functions in the std library (I imagine). Additionally, the binary you ship will still probably include the runtime & GC. So it's not really fair to say it's on par with C/Rust, there's reasons to avoid GC besides just performance. Say you are writing an embedded application for example. I don't know any Nim, so correct me if I'm wrong.
- nimmer 7y ago> not really fair to say it's on par with C/Rust It is. The GC is inline, thread-local and can be run manually, disabled completely, or switched to the new owned reference.