by cisstrd · 10y ago · 0 comments
For example Coding Standards from NASA's Jet Propulsion Laboratory (JPL) for C[1] and Java[2]
This will also give you an idea of just how tedious it is to do so
I am not even sure if enforcing those strict standards leaves a Turing-complete language
[1] http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
[2] http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_Java.pdf
So what's left probably isn't Turing complete.
> important general differences from the JPL institutional C coding standard for flight software references (JPL-C-STD) are: (1) the Java standard allows dynamic memory allocation (object creation) after initialization, (2) the Java standard allows recursion, and (3) does not require loop bounds to be statically verifiable. Apart from these differences most other differences are due to the different nature of the two languages.
That said, the standard in question is explicitly only intended for ground-based systems.