Join Nostr
2026-11-25 21:52:47 UTC
in reply to

solo on Nostr: "exception handling example: an industrial boiler controller is controlled by ...

"exception handling example: an industrial boiler controller is controlled by software. it is connected to a pressure sensor and pressure release valve. it keeps the pressure sensor in an acceptable range. if the pressure sensor is misbehaving, it shuts down the boiler by opening the valve. if the valve is stuck it calls an emergency. it keeps a log of all the pressure readings, as well as another log for operational events. the hardware drivers can throw exceptions. for security, the boiler controller should be shielded from those exceptions. thus, an exception handling layer is added."

wrong! -fno-exceptions.
embedded shit should not use exceptions.