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

I'm wondering if one day memory will be so cheap, we won't need garbage collection anymore.



Reduction in price isn't enough on its own, you need to also reduce the growth in memory usage by software to be slower than that reduction in price, and stay slower for a long time.

Even then, it's rough. Consider that the IBM 704 from 1954 (the first machine to run Lisp) had a memory bandwidth of around 375kBps. That means that in theory it could need up to 12TB to run for a year without reclaiming memory, although real-world usage would surely be much less.


> I'm wondering if one day memory will be so cheap, we won't need garbage collection anymore.

I believe we would need infinite memory for that. Cheap extensive memory is still finite.


Only for long-running processes


So, just the most important ones, then. In a sense, processes are just a form of arena allocation. They don't eliminate the need for memory management; they are memory management (among many other things).


We can always restart the apache server after 10 requests.


In a redundant design, why not? :)


Even if memory is cheap, it still uses power, and as a result, has lots of heat to dissipate. In many high-end server designs, the power / heat aspects are the limiting factor -- not the cost.


Or like a really non aggressive garbage collector perhaps.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: