With noting that the GC in Nim (not "stop the world" BTW) is attached to the type. Unless you declare a type as `ref`, you're using stack allocation.
Even if you do use the GC, the compiler elides GC work if the type doesn't escape the scope.
Even if you do use the GC, the compiler elides GC work if the type doesn't escape the scope.
No comments yet.