Naive performance comparison of a few programming languages (JavaScript, Kotlin, Rust, Swift, Nim, Python, Go, Haskell, D, C++, Java, C#, Object Pascal, Ada, Lua, Ruby)
While markAndSweep is mostly better than the default gc in nim, the new "arc" gc is even more performant and results in a lot less memory usage overall. In order to be consistent with new upstream development, the "fast" nim implementation should use arc. More details available at https://nim-lang.org/docs/gc.html See https://youtu.be/yA32Wxl59wo?t=830 for an example benchmark. Using arc instead of markAndSweep saves over 10 seconds and uses less memory!
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by OpenSourceAnarchist and has received 5 comments.