JSF (Joint Strike Fighter) like standard for C

There is MISRA C by the Motor Industry Software Reliability Association:

MISRA-C:2004, Guidelines for the use of the C language in critical systems


Les Hatton has specified an ISO C subset for critical systems and has written quite a bit about MISRA C. I'd read through (at least most of) what he has to say before making any decisions.

If you're in TLDR mode, the short answer is that most such guidelines (including MISRA C) include rules running the entire gamut from extremely useful to somewhat useful, to a few that are probably actively harmful (e.g., editing code to follow them is more likely to introduce bugs than fix anything).

Tags:

C

Coding Style