4 ms·
Do all medical devices have faulty software, or just ones that shoot radiation at the patient? But anyway, I wonder what programming techniques are in use for
by jrockway 17y ago
Do all medical devices have faulty software, or just ones that shoot radiation at the patient?
But anyway, I wonder what programming techniques are in use for these devices. They sound like they are very expensive but don't need much computational power, which is a good case for using a very high-level language. It may run slowly, but it's easier to get right. (The Therac-25 was controlled by a complicated application written in a very low-level language. A simple programming oversight which the language made very easy killed several people. Using a higher-level language would have prevented this bug.)
- pavel_lishin 17y agoSeems to me that medical devices should be programmed in the same style as the computers guiding the space shuttle. It's not exciting, but it works and keeps people alive.
- dangoldin 17y agoThere was a great article posted about that here a bit back: http://www.fastcompany.com/node/28121/print http://www.fastcompany.com/node/28121/print
- jrockway 17y agoI don't think that this is necessary. A medical devices just needs to shutdown if it is about to enter a potentially unsafe state. A space shuttle can't just shut down; it has to keep functioning no matter what. That's a much harder problem to solve, and would create unnecessary development expense. (Though some techniques are applicable; have a safety mechanism that shields the radiation-producer if the two CPUs disagree about a computation. If the two CPUs are running two different programs to calculate the 'next step', then this should prevent many random accidents.)
- yellowbkpk 17y agoAll software is faulty. Most of these sorts of devices (patient-facing medical devices) are divided into two physically separated pieces: the part that touches the patient and the part that interacts with the other device. In the imaging case, the system that actually shoots radiation at the patient should have a hardware failsafe, opto-coupled i/o, clean power, etc. The software is usually written in C or something on an embedded RTOS. Data processing is usually done in Windows or some flavor of *nix running well-tested software.
- viraptor 17y ago> All software is faulty. D. J. Bernstein would disagree probably... (yes - I know his soft is faulty too, but his code is a couple orders of magnitude better than 99.999% of other programmers' code and people needed years to find those bugs)
- skybrian 17y agoBugs in things that radiation at people make headlines and people tend to remember them. It's called availability bias. http://en.wikipedia.org/wiki/Availability_heuristic http://en.wikipedia.org/wiki/Availability_heuristic