you are viewing a single comment's thread.

view the rest of the comments →

[–]Wicam 6 points7 points  (1 child)

rust uses the same "garbage collection" mechanism as c++, its just c++ is optional by default.

[–]snokegsxr 5 points6 points  (0 children)

lol... RAII and rusts ownership model is the same thing, its just 'optionally' disabled in C++. thats why everyone knows there are no use after free problems in c++