by luriel · 14y ago · 0 comments
"Unlike previous aircraft, such as the F-22, all software for the F-35 is written in C++ for faster code development."
Seems that C++ is fulfilling its intended purpose nicely: http://harmful.cat-v.org/software/c++/I_did_it_for_you_all
Or perhaps Bjarne's real goal was to end all wars ;)
Edit: Oh, and it seems somebody has not read The Mythical Man Month:
"Because of this delay and the increased complexity of the jet's third and final software block, Lockheed Martin and the Defense Department have added additional resources to fielding Block III software"
Source - http://www.defenseindustrydaily.com/f22-squadron-shot-down-b...
I'm sure that was a great comfort to the pilots in the F-22s.
The F-80, for example, if you flew it too fast (and the engine was powerful enough to do that in level flight) the airplane would suddenly "pitch up", fold the wings back, and crash.
There are endless examples of these kinds of "bugs" in leading edge fighter design that have nothing to do with software.
They are unlucky - there is no better alternative in writing this kind of software than Ada [well, there is SPARK but it is subset of Ada with annotations].
http://shootout.alioth.debian.org/u32/which-programming-lang...