3 ms·
To add to that: While Nim is garbage collected primarily it can also be used without a GC. However, the many scenarios where going GC-less may be beneficial su
by dom96 12y ago
To add to that:
While Nim is garbage collected primarily it can also be used without a GC. However, the many scenarios where going GC-less may be beneficial such as games, web browsers, or kernels where the application cannot afford any pauses during runtime is alleviated by the real-time aspect of Nim's GC which allows you to specify exactly when and for how long you would like it to run (http://nim-lang.org/gc.html http://nim-lang.org/gc.html).
In this sense Nim is betting on you using the GC for those applications whereas Rust is betting on not using a GC and providing you with tools to manage your memory manually more safely.