Hacker News new | ask | show | jobs
Ask HN: Software and programming languages on the Mars Perseverance mission
20 points by peebz 1948 days ago
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?
3 comments

Check out NASA's Software Engineering Handbook: https://standards.nasa.gov/standard/nasa/nasa-hdbk-2203
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.
> memory is no longer a (significant) space constraint

I see what you did there.

the universe is expanding, after all...
> 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.)