We have programs to test all the possibilities in the software.
And we have programs to test the testing programs.
All hardware has redundancy. The software is executed in multiple processors at the same time, so if one fails, the others take control.
No, that's a contract I do not want.
I wouldn't be surprised if they used functional programming and avoiding object orientated programming.
Does anybody know if Ada is still in use for writing new applications?
[1] https://en.wikipedia.org/wiki/Ada_%28programming_language%29
http://en.wikipedia.org/wiki/SPARK_%28programming_language%2...
It could have been useful for Toyota, rather than the ad-hoc mess they wound up with controlling their cars. https://news.ycombinator.com/item?id=8905718
But you'd sometimes have weird systems of ADA being used for the "safety-critical" stuff, which interfaced via CORBA with C++ code controlling it (as a bigger system), and would then sometimes be exposed to the user again via CORBA in Java UI code! (never saw this (Java) on aircraft thankfully, only ships)
A certain UK system also had code for controlling the HUD in ADA, but the main flight control system in C++, again via CORBA interfaces..
This wasn't always the case - some Solaris stuff on submarines was all C++ (with Sun's compiler), but it was frightening the complexity of it.
There was also a flight of F-22s (real, not simulated) that lost all computer and communication systems and had to follow another plane to get home because of a software bug when crossing the international date line: http://www.dailytech.com/Lockheeds+F22+Raptor+Gets+Zapped+by...