←back to thread

327 points AareyBaba | 2 comments | | HN request time: 0.61s | source
Show context
anonymousiam ◴[] No.46184727[source]
The same is true for the software that runs many satellites. Use of the STL is prohibited.

The main issue is mission assurance. Using the stack or the heap means your variables aren't always at the same memory address. This can be bad if a particular memory cell has failed. If every variable has a fixed address, and one of those addresses goes bad, a patch can be loaded to move that address and the mission can continue.

replies(7): >>46185566 #>>46187219 #>>46188652 #>>46189307 #>>46190613 #>>46191199 #>>46196185 #
1. menaerus ◴[] No.46189307[source]
So none of the functions you implement have in/out parameters?
replies(1): >>46189544 #
2. cminmin ◴[] No.46189544[source]
if you use few you can have em all in the registers perhaps (not sure what arch they rollin?)