5 ms·
From wikipedia: "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 fulfi
by luriel 14y ago
From wikipedia:
"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 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"
- crazypyro 14y agoThat interview was very interesting.... I'm kind of interested what the response to its leak was now though....
- trapexit 14y agoIt's a parody. http://www.snopes.com/computer/program/stroustrup.asp http://www.snopes.com/computer/program/stroustrup.asp
- evoxed 14y agoToo bad, since given the discussion topic here this would have made the perfect pun: "no company in its right mind would start a C++ project without a pilot trial" (emph. added) (rimshot)
- crazypyro 14y agoOkay, I kind of assumed it was a joke, but I'm too young to know all the history. Thought maybe I missed something.... Thanks for the info!
- munin 14y ago"C++ is dying off now," ... 12 years later ... (I know the interview is satire but I don't think that line was wholly satirical)
- seanmcdirmid 14y agoCoincidentally, I haven't programmed in C++ for about 12 years. I'm sure its dead for a large segment of the programming population, and its still much alive for another segment.
- 16s 14y agoThe joint strike fighter (F-35) coding standard is very nice: http://www2.research.att.com/~bs/JSF-AV-rules.pdf http://www2.research.att.com/~bs/JSF-AV-rules.pdf
- 16s 14y agoAn entire squadron of F-22's (non C++) lost all systems when they crossed the International Date Line en route to Japan in 2007. The pilots almost lost control and only survived because they could visually follow fuel tankers back to Hawaii. You can't blame that on C++. All systems have bugs. Source - http://www.defenseindustrydaily.com/f22-squadron-shot-down-by-the-international-date-line-03087/ http://www.defenseindustrydaily.com/f22-squadron-shot-down-b...
- smacktoward 14y agoAll systems have bugs. I'm sure that was a great comfort to the pilots in the F-22s.
- WalterBright 14y agoAll airplanes have bugs, too. 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.
- arethuza 14y agoI was reading to "One Minute to Midnight" about the Cuban msisile crisis and the account of flying a U-2 was pretty scary - at high altitude they had a very narrow range of speeds at which they could fly, fly too fast and the wings come off, fly to slowly and the plane stalls.
- outworlder 14y agoThis is called the "coffin corner". It varies for different aircrafts, but they all have it, including commercial liners.
- arethuza 14y ago
- darkestkhan 14y agoSomeone did persuade them to shelve Ada... and then they get into this mess ;) 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].
- Cieplak 14y agoI just learned that Ada has higher performance benchmarks than C in many cases, for whatever that is worth. http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32/which-programming-lang...