←back to thread

Nim 2.2.6

(nim-lang.org)
159 points xz18r | 2 comments | | HN request time: 0.001s | source
1. alberth ◴[] No.45772559[source]
Since Nim GC approach seems to be a common topic of discussion, providing link below on more details:

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

replies(1): >>45772573 #
2. netbioserror ◴[] No.45772573[source]
It's also not a huge issue in most cases because the default is stack-managed pointers passed around by value. So effectively automatic invisible unique pointers. You can construct whole programs without ever touching the `ref` keyword. I've done this in a live commercial deployment.