News for hackers. Stuff that matters.
Re:Rust on AVR: Safer microcontrollers almost here by pjmlp on Saturday February 11, 2017 @01:39AM (#13621436)
Yes, Therac-25 as an example.

The code will run and corrupt data without crashing, due to off by one error.

In the proprocess a few people got cooked.

Although the code was in Assembly, the situation wouldn't have been different if it was coded in C, due to the lack of bounds checking.

Re:Rust on AVR: Safer microcontrollers almost here by janzer on Saturday February 11, 2017 @03:55AM (#13621807)
A PDP-11 is the classic example of a microcontroller. ;)

Here's a picture of the model used for the Therac-25 the PDP-11/23 http://www.physics.purdue.edu/~jones105/pdp-11/images/IMG_28...

Re:Rust on AVR: Safer microcontrollers almost here by pjmlp on Saturday February 11, 2017 @04:00AM (#13621817)
As I mention on another thread, an ESP-32 would be good enough to run MS-DOS.

Your example makes it even more obvious that current microcontroller are actually quite powerful, when we look at the hardware resources of the 60 - 70's.