3 ms·
No dynamic memory allocation, no recursion, no longjmp, etc. Program execution must be entirely predictable, every time. SpaceX's programming rules are probabl
by w3pm 14y ago
No dynamic memory allocation, no recursion, no longjmp, etc. Program execution must be entirely predictable, every time.
SpaceX's programming rules are probably very similar to those used at NASA JPL: http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
- paulrademacher 14y agoThat's just the tiniest tip of the iceberg. Doesn't get into formal specs, verification, validation, etc. This article is often referenced for NASA's software practices, although it's now almost 20 years old: http://www.fastcompany.com/28121/they-write-right-stuff http://www.fastcompany.com/28121/they-write-right-stuff Is there anything more comprehensive and current than that?