Hacker News new | past | comments | ask | show | jobs | submit login

If you witness the amount of effort/work/man-hours that is being poured into making memory management easier, I'd say it is far from a trivial problem.

If you witness the endless amount of bugs, many security related, which stems from the idea that people can handle memory, I'd say it is far from a trivial problem.

If you witness any modern language, a common design principle is to eliminate memory management. Which argues it is far from a trivial problem.




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.


Elimination 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.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: