What programming language do Avionics use?

Status
Not open for further replies.

technophile

Ars Legatus Legionis
23,768
When I worked at Boeing in 2003 they were C or C++. A lot of the ancillary software (maintenance software, etc, stuff that isn't actually on the plane) used Java or VB or .NET, however.

The choice probably has more to do with avoiding the overhead of later-generation languages (the flight computers aren't exactly pushing the bleeding edge of computing technology -- some of the planes were still using ferrite core memory in their flight computers and/or recorders) than it does with avoiding "sloppy or bad" code -- it's not terribly difficult to write crap code in any language. Avionics software is much more rigorously reviewed and tested than your normal line of business app, though.



As over-specified and over-budget and under-performing as the F-35 is, though, it wouldn't surprise me at all if it's running Enterprise Java in its flight computers, though. :rimshot:
 

CanSpice

Ars Tribunus Angusticlavius
7,147
[url=http:/civis/viewtopic.php?p=26616335#p26616335:2nd4ripr said:
technophile[/url]":2nd4ripr]As over-specified and over-budget and under-performing as the F-35 is, though, it wouldn't surprise me at all if it's running Enterprise Java in its flight computers, though. :rimshot:

I think that's against Java's license:

You acknowledge that the Software is developed for general use in a variety of information management applications; it is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury.

I think the F-35 might create a risk of personal injury. If it ever gets off the ground. :)

Edit: Well, that's not for the embedded Java. You need to contact Oracle to see that license for some stupid reason.
 

technophile

Ars Legatus Legionis
23,768
You have to wonder how that clause would be interpreted in court. I mean, I wrote software that wasn't directly responsible for flying the plane, but if there was a bug in my software it's possible that maintenance on the aircraft could be incorrectly performed (or incorrectly not performed), leading to the aircraft not performing properly, leading to a risk of personal injury.

We didn't use Java, but if we had, would we have been violating the license? o_O
 

wb

Ars Legatus Legionis
25,208
Subscriptor
[url=http:/civis/viewtopic.php?p=26617097#p26617097:1aloqj7t said:
technophile[/url]":1aloqj7t]You have to wonder how that clause would be interpreted in court. I mean, I wrote software that wasn't directly responsible for flying the plane, but if there was a bug in my software it's possible that maintenance on the aircraft could be incorrectly performed (or incorrectly not performed), leading to the aircraft not performing properly, leading to a risk of personal injury.

It just so happens bugs (termed "deficiencies") in the on-board maintenance & logistics software was discovered in the F-35 which is contributing to the massive cost overrun. That is to say, there are a LOT of bugs in various software systems on the F-35 right now, but among those are bugs in the ALIS which I believe were discovered somewhat recently.


Software is developed in a variety of languages. There aren't any strict requirements except that the languages and compilers/development tools all need to undergo a rigorous review process before being used. C/C++ toolsets have been through this process many times over the years, which is why programs tend to gravitate towards those languages, but I have heard tell of java, python, etc. also being used for various subsystems.
 
[url=http:/civis/viewtopic.php?p=26617097#p26617097:29rxe2oa said:
technophile[/url]":29rxe2oa]You have to wonder how that clause would be interpreted in court. I mean, I wrote software that wasn't directly responsible for flying the plane, but if there was a bug in my software it's possible that maintenance on the aircraft could be incorrectly performed (or incorrectly not performed), leading to the aircraft not performing properly, leading to a risk of personal injury.

We didn't use Java, but if we had, would we have been violating the license? o_O

I think it's more of a CYA thing on Oracle's part. AFAICT they never actually say that using Java for mission-critical projects violates they license. They just disclaim all responsibility if you do use it for such a project. I found this wording elsewhere:

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

In other words, if your Java software ends up causing serious damage or bodily harm somewhere due to and the harmed parties start suing everyone, Oracle can point to that clause and skip any blame (in theory).
 
Status
Not open for further replies.