I'm not quite happy with the way I put that. If you have better wording, feel free to chime in.
I'm not quite happy with the way I put that. If you have better wording, feel free to chime in.
Personally I would prefer my pacemaker to miscount a beat than shutdown completely...
There are some people who would prefer the purity of "Panic" on a memory corruption/error, and there are some people who are operating space craft and safety critical systems where a "Panic" could lose lives.
This is why I don't buy-in completely with claims of safety, when we've been using Assembly/C/C++/Ada/etc. for decades. It's a trade off and you're not going to stop cosmic rays flipping your bits.
A panic doesn't imply shutting down. If my api panics a system above it(systemd, docker, k8s) restarts the api from a known good state.
Memory corruption can do much worse.
Note: Hypervisor is not the right answer.
If the OS will encounter memory corruption, it cannot reliably do anything but restart. Anything else will risk further corruption and will make any investigation more difficult and effects more distant from the cause.
> and there are some people who are operating space craft and safety critical systems where a "Panic" could lose lives.
So could erratic behaviour.