Why Garbage Collection if smart pointers are there
- by Gulshan
This days, so many languages are garbage collected. Even it is available for C++ by third parties. But, C++ has RAII and smart pointers. So, what's the point of using garbage collection? Is it doing something extra?
And in other languages like C#, if all the references are treated as smart pointers(keeping RAII aside), by specification and by…