General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
MrAbrazildo
Computerphile
comments
Comments by "MrAbrazildo" (@MrAbrazildo) on "Garbage Collection (Mark u0026 Sweep) - Computerphile" video.
"Bjarne Stroustrup (C++ creator) solved this problem, but the world continues to act as if it wasn't" - mr. STL, from Microsoft. C++ solution for this is so much cleaner, elegant and faster: write a tiny destructor in a class, and it'll automatically do the job for you. It just won't catch the lost of all references, if you aren't using a shared_pointer. Even so, there are classes implementations in its library, that already have all this done, so you not even have too write a destructor anymore.
2