3 ms·
I first learned of this incident in the early 2000s from a computer book about how to code UML State charts in C/C++ [1]. It included a CD-ROM with a library th
by po 3y ago
I first learned of this incident in the early 2000s from a computer book about how to code UML State charts in C/C++ [1]. It included a CD-ROM with a library that implemented a rather clever way of maintaining state using the call stack.
Unfortunately, the naive software fix for the Therac-25 is to add a flag (which is additional state) to the system which is to add complexity to the system.
[1] https://www.state-machine.com/doc/PSiCC.pdf https://www.state-machine.com/doc/PSiCC.pdf
- elromulous 3y agoWe had a term for implicit state machines at a place I used to work: infinite flag machines[0]. [0] I suspect the majority of hn folks are familiar with finite state machines, but just in case: https://en.m.wikipedia.org/wiki/Finite-state_machine https://en.m.wikipedia.org/wiki/Finite-state_machine