Ask HN: Software and programming languages on the Mars Perseverance mission

20 points by peebz ↗ HN
What software and programming languages are being used for the various systems on the Perseverance mission to Mars? What are the design principles and mission constraints that have influenced the choices that have been made?

7 comments

[ 8.6 ms ] story [ 26.6 ms ] thread
Probably the usual aerospace stack: C/C++ and Ada doing the heavy lifting. Since memory is no longer a (significant) space constraint in 2021, I suspect other high level languages are also used for the non-critical parts of the system.
> Since memory is no longer a (significant) space constraint in 2021

Is this definitely true in the context of astronautics?

The main computer of Perseverance (and Curiosity) has 256 megabytes of RAM. Which is only twice of what Spirit and Opportunity had so I wouldn't call this a significant increase. (Even Pathfinder had 128 in 1997 but wasn't a rover.)
> memory is no longer a (significant) space constraint

I see what you did there.

the universe is expanding, after all...