Answer the question
In order to leave comments, you need to log in
What is software for space rockets/satellites/aircraft written in?
Interested in which programming languages are more often used for these purposes. Do they use assembler, or something high-level?
Answer the question
In order to leave comments, you need to log in
Most hardware drivers are usually written in C or assembler. The space industry usually uses specific software for specific hardware, that is, more often it looks more like a machine with program control than a personal computer or server with an operating system to work with the user.
In more complex systems, a proprietary OS may be used. Sometimes there may even be something based on *nix.
For example, the Curiosity computer is running the VxWorks real-time operating system. It was also used in other Martian vehicles: Spirit, Opportunity, Phoenix, Pathfinder and the Mars Reconnaissance Orbiter satellite, as well as in many terrestrial robots and embedded systems.
All Curiosity programs are written in C (NOT C++, but plain C)
Well, binary code is for masochists :) They write in C, not necessarily in asma. On erlang too.
As part of the Buran space program, the DRAKON language was developed , which is still used in various projects like Proton-M, Topol-M and others.
Website
As they write it is still clear, but how to test such code is a more interesting task;)
for a long time, however, I saw an article just about your question, there were many languages \u200b\u200babout 10, or even more, but the most important ones highlighted this:
- Phyton
- C / C ++
- assembler
- Haskell (I could be wrong)
in the article like this it was interviewed that they have a person who even writes code in Fortran) the
journalists were in NASA, it seems
At the university, we were teased by the fact that the software for satellites (calculates the trajectory or something like that) is written in assembler. But this still did not motivate us to learn it =D
In the United States, the Ada language was developed specifically for this purpose.
In Rush, Fortran is still actively used in the space and military industries.
And so, probably, usually in C - the standard for embedded systems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question