3 ms·
Is it true that in the before times, you'd have to manually deallocate memory?
by MaxBarraclough 5y ago
Is it true that in the before times, you'd have to manually deallocate memory?
- tux3 5y agoIt's well known that most programs had automatic memory deallocation in the before times: your tool would call malloc, process its input, and let the OS free memory as soon as it exited. But some of the fanciest programs, like the Bourne Shell, were even more automatic: they didn't have to manually manage each allocation either. You'd simply write right on the heap and have your SIGSEGV handler do a brk() every so often!
- distortedsignal 5y agoIn the before time, deallocating memory meant pulling it out of the board. To free up memory on our systems, we bought new system and moved the old ones into a landfill. Permanent storage was on stone tablets, but read/write times were REALLY LONG. Backups took a really long time, too. Restoring was pretty quick, because you would just put the last-known-good tablets into the machine.