3 ms·
If I recall correctly, at least some guidelines for avionics software (JSF, maybe?) forbid dynamic memory allocations, period.
by AnimalMuppet 8y ago
If I recall correctly, at least some guidelines for avionics software (JSF, maybe?) forbid dynamic memory allocations, period.
- bunderbunder 8y agoJPL's does. See Rule 5, on page ten: https://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf https://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
- monocasa 8y agoIn addition to JPL's, the JSF's does too, after initialization. That is you can malloc at startup, but not past that.
- berti 8y agoThat's a general thing for safety critical real-time systems, not just avionics.