News for hackers. Stuff that matters.
Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by iLoch on Saturday February 07, 2015 @10:17PM (#9016298)
I remember reading somewhere that these guys get all the time they want to program these systems, and the environment is very relaxed - I suppose for this very reason.
Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by gaius on Sunday February 08, 2015 @01:54PM (#9018094)
Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by curiously on Sunday February 08, 2015 @12:22AM (#9016498)
Write one line of code everyday, make sure it's bug free.

I wouldn't be surprised if they used functional programming and avoiding object orientated programming.

Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by berkut on Sunday February 08, 2015 @05:59AM (#9016946)
I left the defence industry eight years ago now, but back then (and based on that job posting below it looks like it's possibly still going on), it was a weird combination of ADA, C++ (sometimes C instead) and Java. In the late 90s, there was a big push in both the US and the UK defence industries to start using off-the-shelf software more, which meant moving to C++ from ADA.

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.

Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by PhantomGremlin on Sunday February 08, 2015 @01:02AM (#9016562)
Why wouldn't they be using Ada? That's exactly what is was developed for.[1]

Does anybody know if Ada is still in use for writing new applications?

[1] https://en.wikipedia.org/wiki/Ada_%28programming_language%29

Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by mparlane on Sunday February 08, 2015 @01:40AM (#9016600)
Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by ObviousScience on Sunday February 08, 2015 @02:31AM (#9016672)
You can take it a step further and use SPARK:

http://en.wikipedia.org/wiki/SPARK_%28programming_language%2...

Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by PhantomGremlin on Sunday February 08, 2015 @07:59AM (#9017139)
Excellent. I wasn't aware of SPARK.

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

Re:Ground Collision Avoidance System ‘Saves’ First F-16 in S... by kjs3 on Sunday February 08, 2015 @11:10PM (#9019694)
Boeing for one still uses a lot of Ada for critical flight systems. The 787 flight control software for one.