4 ms·
Because they tell me to stop managing memory by hand, as we have mountains of experiment proof that no one[0] is good at it. [0] I meant what I said.
by kstrauser 3y ago
Because they tell me to stop managing memory by hand, as we have mountains of experiment proof that no one[0] is good at it.
[0] I meant what I said.
- zabzonk 3y agoum, modern c++ has for at least the past 10 years advised people not to manually manage memory.
- dekken_ 3y agonot really, RAII/shared_ptrs is still manual memory management, just less footguns
- zabzonk 3y agowell, i would not recommend shared_ptr except under rare circumstances, but i don't see what can be wrong with RAII. in fact, it is the languages thar don't have RAII that have the problems, IMHO.
- lofenfew 3y agoits the same as the tools rust provides you, so if that's true it bodes poorly for the supposed c++ successor.