News for hackers. Stuff that matters.
Re:F-35's biggest problems: software and bad relationships by luriel on Tuesday September 18, 2012 @09:53PM (#4541621)
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

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"

Re:F-35's biggest problems: software and bad relationships by 16s on Tuesday September 18, 2012 @10:30PM (#4541715)
An 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-b...

Re:F-35's biggest problems: software and bad relationships by smacktoward on Tuesday September 18, 2012 @11:17PM (#4541876)
All systems have bugs.

I'm sure that was a great comfort to the pilots in the F-22s.

Re:F-35's biggest problems: software and bad relationships by WalterBright on Wednesday September 19, 2012 @02:54AM (#4542462)
All 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.

Re:F-35's biggest problems: software and bad relationships by arethuza on Wednesday September 19, 2012 @05:41AM (#4542858)
I 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.
Re:F-35's biggest problems: software and bad relationships by outworlder on Wednesday September 19, 2012 @08:20AM (#4543193)
This is called the "coffin corner". It varies for different aircrafts, but they all have it, including commercial liners.
Re:F-35's biggest problems: software and bad relationships by WalterBright on Wednesday September 19, 2012 @07:35PM (#4546123)
The P-51 had an interesting problem shared with other high torque single engine fighters of its day. If you're coming in for a landing, with the engine idling, decided to abort and firewalled the throttle, the airplane would rotate about the crankshaft.

This killed a lot of pilots.

Re:F-35's biggest problems: software and bad relationships by arethuza on Wednesday September 19, 2012 @10:06AM (#4543565)
"The aircraft's stall speed at that altitude is only 10 knots (12 mph; 19 km/h) below its maximum speed"

http://en.wikipedia.org/wiki/Lockheed_U-2

Re:F-35's biggest problems: software and bad relationships by darkestkhan on Wednesday September 19, 2012 @12:05AM (#4542007)
Someone 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].

Re:F-35's biggest problems: software and bad relationships by Cieplak on Wednesday September 19, 2012 @12:12AM (#4542024)
I 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-lang...

Re:F-35's biggest problems: software and bad relationships by 16s on Tuesday September 18, 2012 @10:26PM (#4541702)
The joint strike fighter (F-35) coding standard is very nice: http://www2.research.att.com/~bs/JSF-AV-rules.pdf
Re:F-35's biggest problems: software and bad relationships by munin on Tuesday September 18, 2012 @10:20PM (#4541687)
"C++ is dying off now," ... 12 years later ... (I know the interview is satire but I don't think that line was wholly satirical)
Re:F-35's biggest problems: software and bad relationships by seanmcdirmid on Tuesday September 18, 2012 @10:29PM (#4541710)
Coincidentally, 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.
Re:F-35's biggest problems: software and bad relationships by crazypyro on Tuesday September 18, 2012 @10:16PM (#4541671)
That interview was very interesting.... I'm kind of interested what the response to its leak was now though....
Re:F-35's biggest problems: software and bad relationships by trapexit on Tuesday September 18, 2012 @10:19PM (#4541683)
Re:F-35's biggest problems: software and bad relationships by evoxed on Tuesday September 18, 2012 @10:24PM (#4541695)
Too 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)
Re:F-35's biggest problems: software and bad relationships by crazypyro on Tuesday September 18, 2012 @11:05PM (#4541846)
Okay, 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!