Programming languages for aerospace

AI Thread Summary
C and C++ remain the dominant programming languages in aerospace due to their utility and importance, particularly for operational flight programs (OFPs). While there are discussions about integrating newer languages like Java and Julia, their adoption is limited by strict testing requirements and hardware constraints. OFPs typically utilize C, with some use of Ada and C++, while Python and Java are more common in engineering analysis tools but not in OFPs. The trend is shifting towards design tools that auto-generate code, predominantly in C and C++. Overall, legacy languages like C++ and FORTRAN continue to play a significant role in the industry.
orb_yt
Messages
18
Reaction score
5
It seems a lot of stuff done for aerospace is in C/C++ or Python. Both of these are a few decades old now, and they seem to still dominate in the industry. I know that ESA has plans to start using Java, but what other current programming languages do you think would be viable options for use in aerospace?
 
Technology news on Phys.org
C and C++ are not going to go away any time soon. They are too useful and too important. Maybe julia will gain popularity, but who knows?
 
Khashishi said:
C and C++ are not going to go away any time soon. They are too useful and too important. Maybe julia will gain popularity, but who knows?

I wouldn't expect them too, with how ingrained and wide-spread they are in the industry. But is there any limitations to using them? Using something designed 40 years ago for modern tech just seems...weird.
 
There is a difference between code for engineering analysis versus code for operational flight programs (OFPs) that run on the plane.

The strict testing and development process requirements for OFPs severely limit the languages that can be used. So does the fact that OFPs run on a small subset of hardware and operating systems that only offer selected language compilers. C is common for OFPs. There are also a smaller number of Ada and C++ OFP programs. I am not aware of any Python or Java OFP code. A growing trend is to use design tools (often graphical) that auto-generate code. There is a lot of auto-generated C and C++ OFP code.

For engineering analysis, the design tools can have a variety of languages. You should remember that many algorithms might end up in an OFP and having them in an acceptable OFP language is a great benefit. There is a lot of Python and Java code in the analysis tools that are guaranteed to not become OFP algorithms.
 
C++ and legacy FORTRAN are the major languages in aerospace. I have some groups who use Perl and the occasional person who uses python. We have shied away from java in my particular group, it is too slow.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top