5 ms·
> With RAII types that have value semantics (ala shared_ptr) what is so difficult about memory management in C++? For me, C++ memory management becomes challen
by agentS 14y ago
> With RAII types that have value semantics (ala shared_ptr) what is so difficult about memory management in C++?
For me, C++ memory management becomes challenging in the face of concurrency. Particularly when you write applications that are event-driven, instead of thread-based, and you've surrendered to an event loop. It becomes challenging to keep track of object lifetimes.
Just my 2c.