3 ms·
Actually, I think process termination is pretty useful as garbage collection. It's normally much more reliable for releasing resources, for one thing. And there
by barrkel 8y ago
Actually, I think process termination is pretty useful as garbage collection. It's normally much more reliable for releasing resources, for one thing. And there's little sense in cleaning up RAM when you're just going to quit.
- geocar 8y agoThe kernel still deallocated those pages as an explicit [manual] result of a free-like call -- that just so happens to be named exit(). To seriously tell people that every C program running on unix has automatic "garbage collection" built-in seems like it would create very confusing conversations.