News for hackers. Stuff that matters.
Re:Misra C++:2023 Published by GuB-42 on Sunday December 17, 2023 @01:50PM (#38675248)
"just crash the whole program" is much more sane than to attempt to handle unrecoverable errors.

Almost all systems to which MISRA apply have watchdogs, and crashing to let the watchdog restart the program is a common pattern.

Re:Misra C++:2023 Published by AlotOfReading on Sunday December 17, 2023 @02:22PM (#38675548)
There are cases in MISRA's problem domain where the software watchdog is part of the same program, and fully crashing that program is a different, more severe error than alternatives.