> you don't trade away stability for performance on a safety-critical chip!
In a sane world, no. But we don't live in a sane world. We live in one where (on one system I worked on) it turned out a plane having an overheat (not fire) on one engine would cause the overheat on the other to fail to report to the pilots (corrected or I'd name and shame). And that wasn't just an issue of language, but of sound (or unsound in this case) logic. No one sits down and develops these things correctly. 10k lines of code (at most) on that project and most of it was just cobbled together in an ad hoc fashion.
For how much longer?
The machines running self-driving cars aren't tiny little processors running single threaded code. They're basically full server racks worth of compute with multi-core cpus, gpus, and who knows what else.
The current approach of "use crufty-but-trustworthy hardware and never do anything too complex" doesn't scale to the next generation of "embedded".
One of the major hurdles to real Level 5 systems is proving their correctness.
There's the rub. They don't meet the standards of safety-critical code, but they are safety critical.
I'm not sure how this challenge will be addressed, but I doubt the answer is "write everything in C". That approach works when your code is relatively simple, but doesn't scale when the code is actually extremely complex.
https://hackernoon.com/five-skills-self-driving-companies-ne...
A team of software engineers can then implement that with static analyzers and run time checkers during development to give confidence to an implementation.
Can you prove stability of a deep learning system across all possible operating conditions it may encounter?
I was thinking more of self driving though.
The main problem is that C and C++ won the political war and many devs don't even bother to look elsewhere.
Actually even C++, in spite of its safety improvements over C, has issues to cater to embedded devs.
Thankfully the IoT of shame is already making people aware that another path has to be taken.