|
|
|
|
|
by codesushi42
2555 days ago
|
|
>we know naive C++ might spend more time in memory management code than a GC language. That's not really true anymore after the introduction of smart pointers. Basically C++ implements reference counting to manage memory as a result. |
|
But we know that GC always imposes huge costs that point benchmarks uniformly fail to reveal. Often the costs are tolerable, or even negligible. At issue is the set of recourses available when they turn out not to be.