News for hackers. Stuff that matters.
Re:Practical Guide to Bare Metal C++ by bluGill on Friday June 02, 2017 @02:54PM (#14472438)
If the system is out of memory there isn't much you can do. The general answer is you don't run out of memory in the first place. Linux will kernel panic in similar situations and you are done there too. (in most cases linux unwinds. fails the operation, and continues; but there cases where the only thing left to do is panic and halt)
Re:Practical Guide to Bare Metal C++ by Jach on Friday June 02, 2017 @04:25PM (#14473026)
I heard Lisp machines would just stop everything and give you a REPL so you have a chance to clean things up, or just reboot. I don't see why modern systems can't reserve some amount of memory for such a recovery process. In my Linux experience I'm either saved by the OOM Killer (which is dubious 'safety' at best) or the system just hardlocks and I have to either REISUB or sometimes force a power off.
Re:Practical Guide to Bare Metal C++ by lispm on Saturday June 03, 2017 @05:36AM (#14475626)
On a Symbolics Lisp Machine one lands in a low-level command loop, adds more virtual memory (swapping space on some disk) and then can continue from there.