Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For embedded systems there is MISRA C. It is a set of guidelines that is included in some compilers and analysis tools. MISRA C++ exists too but I don't know how well supported it is.

It is, however, a rather restrictive standard with critical systems in mind. Usually, you don't want such restrictions in regular software development, you want the full power of the language.

Ensuring sanity is better served with static analyzers (linters) that can be tailored to the specific needs of the project and be regularly updated with new rules.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: