3 ms·
Eliminating memory management is silly, resource management is a core part of programming. There is a reason C++ still reigns supreme even though it was built
by mgaunard 3y ago
Eliminating memory management is silly, resource management is a core part of programming.
There is a reason C++ still reigns supreme even though it was built in the 90s.
- jlouis 3y agoElimination is perhaps too strong a word, as you can't eliminate it entirely. But you can reduce its cognitive load by a large factor. The amount of code which is being written in a garbage collected language is a witness. More manual memory management methods still have their place, because there are problems where you can't afford to use a garbage collector, or where it gets into the way. C++ will be relevant for many years to come. It has way too much momentum as a language and too much software has been written in C++ to ignore it. I personally think Rust will eventually carve up a large part of its niche though, because I think it has a far better approach to managing memory.