logoalt Hacker News

jimbob45 • today at 9:02 AM • 2 replies • view on HN

Nim still has the GC, right? It always seemed like a slightly better Golang, much worse Dlang in that respect.


Replies

miguel_martin • today at 5:53 PM

Nim's better than dlang in this respect. Default memory management is similar to C++ and Rust. See https://nim-lang.org/docs/destructors.html

jibalt • today at 9:09 AM

Optionally but not by default ... things have changed a lot:

https://nim-lang.org/docs/mm.html

➕ show 1 reply