News for hackers. Stuff that matters.
Re:Integer Overflow Bug in Boeing 787 Dreamliner by javert on Saturday May 02, 2015 @04:08PM (#9478385)
> This is another symptom. Perhaps it's excusable if there were preexisting libraries/codebase.

Uh, what would you use? As far as I know, the choices are: Assembler, Ada, and C. We're talking about avionics code, here.

C++ is not going to help you in this case. Java will be too slow/unpredictable. Real-Time Java is kind of sketch in my opinion (I could be wrong there). Most everything else is totally out.

Actually I'd probably choose Ada... but there are reasons the industry switched away from Ada.

Re:Integer Overflow Bug in Boeing 787 Dreamliner by azth on Saturday May 02, 2015 @11:54PM (#9479791)
> Java will be too slow/unpredictable. Real-Time Java is kind of sketch in my opinion (I could be wrong there).

* http://en.wikipedia.org/wiki/Real_time_Java

* http://www.rtsj.org/

Re:Integer Overflow Bug in Boeing 787 Dreamliner by javert on Sunday May 03, 2015 @03:30AM (#9480372)
I'm already familiar with those (which is why I mentioned it). Maybe you are just linking it for other people, in which case, thanks.
Re:Integer Overflow Bug in Boeing 787 Dreamliner by barsonme on Saturday May 02, 2015 @10:44PM (#9479581)
Why did the industry switch away from Ada? I thought they preferred Ada because it was such a 'safe' language?
Re:Integer Overflow Bug in Boeing 787 Dreamliner by javert on Sunday May 03, 2015 @03:34AM (#9480381)
Because Ada programmers were too expensive (i.e., there weren't that many of them).

At least, that's what I remember hearing---can't really vouch for it and I'd be happy to see someone else weigh in.

Also, my understanding was that Ada was basically forced on the defense industry by the Pentagon, and then there was eventually a backlash, and they dropped it. It may have had more success if it had been adopted voluntarily all along. In fact, it may yet have a resurgence. I know there is at least one serious Ada vendor out there still.

Re:Integer Overflow Bug in Boeing 787 Dreamliner by stcredzero on Thursday May 07, 2015 @04:45PM (#9508163)
Also, my understanding was that Ada was basically forced on the defense industry by the Pentagon, and then there was eventually a backlash, and they dropped it.

So they went to C? There's some irrational component in there somewhere.

What about Swift? Reference counting has good properties for real time applications. The toolchain is excellent for implementing verification tools. It has fairly high performance, combined with a very large and growing developer base. If someone put together a toolchain for Swift that covered the most useful 20% of features provided by Ada in that context, then such a thing could take over avionics programming.

Re:Integer Overflow Bug in Boeing 787 Dreamliner by barsonme on Sunday May 03, 2015 @11:43PM (#9484182)
Ahh, makes sense. Thank you.
Re:Integer Overflow Bug in Boeing 787 Dreamliner by stcredzero on Saturday May 02, 2015 @09:26PM (#9479377)
As far as I know, the choices are: Assembler, Ada, and C. We're talking about avionics code, here.

In that case, "group" may refer to the avionics software industry as a whole.

Re:Integer Overflow Bug in Boeing 787 Dreamliner by jonnybgood on Saturday May 02, 2015 @04:40PM (#9478474)
When you say Java I'm assuming you're refering to a JVM? Now what JVM are you refering to?