4 ms·
I'm wondering if one day memory will be so cheap, we won't need garbage collection anymore.
by amelius 10y ago
I'm wondering if one day memory will be so cheap, we won't need garbage collection anymore.
- d0lph 10y agoOr like a really non aggressive garbage collector perhaps.
- imtringued 10y agoWe can always restart the apache server after 10 requests.
- amelius 10y agoIn a redundant design, why not? :)
- xamolxix 10y ago> 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.
- theseoafs 10y agoOnly for long-running processes
- andrewflnr 10y agoSo, 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).
- mikeash 10y agoReduction 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.
- binarycrusader 10y agoEven 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.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]