3 ms·
I learned from working on aviation systems is that when a system enters an unknown state, it must be disabled and locked out. In software, this is known as an
by WalterBright 4y ago
I learned from working on aviation systems is that when a system enters an unknown state, it must be disabled and locked out.
In software, this is known as an assertion failure. When the assert trips, the program is, by definition, in an unknown state. A program cannot reasonably be allowed to continue in an unknown state - it may launch nuclear missiles. The only thing to be done is exit directly, do not pass Go, do not collect $200.
- glouwbug 4y agoWhat if the plane is mid flight?
- bicx 4y agoIt won’t be in mid-flight for much longer.
- WalterBright 4y agoEngage the backup. Everything flight critical is dual.
- mmcnl 4y agoI like this mindset.
- roeles 4y agoThanks for posting this. I have worked on non critical flight software and thought that this philosophy might work well. I wonder how easy the certification is for such software? For work I might have to write Do178 code in the future.
- WalterBright 4y agoI use it in the software I write. I should do a presentation sometime about how the aviation industry should be influencing software development.
- roeles 4y agoI would be very interested in that!