Hacker News new | ask | show | jobs
by lossolo 2555 days ago
> malloc/free are not used in modern C++.

I think using term "are abstracted away" is better choice here. You still allocate memory, dosen't matter if it's malloc/free, mmap/unmap or compiler is doing it for you. It cost time and space. Sometimes the cost is negligible but not always, depends on application.