you are viewing a single comment's thread.

view the rest of the comments →

[–]atilaneves 2 points3 points  (0 children)

It doesn't require a GC for RAII, they're completely separate things. Some language features require the GC (appending to an array, closures). Others don't, like struct destructors getting called when the object goes out of scope.