The Barr Group released an update of the influential Embedded C Coding Standard. Also known as BARR-C:2018, the latest version of the company’s stylistic coding rules helps embedded system designers reduce defects in firmware written in C and C++.
First published in 2008, the rules of Barr Group's Embedded C Coding Standard are followed by embedded software developers who want to reduce time spent during the debugging stage of their projects as well as improve the maintainability and portability of their source code. Followers of earlier versions of the BARR-C coding standard will find that little has changed about the rules themselves. Clarifications and additional code examples have been added to make the rules easier to understand and apply. For the 2018 edition, Barr Group has eliminated the few prior conflicts between its rules and those in the MISRA C:2012 – Guidelines for the Use of the C Language in Critical Systems.
Many firmware developers choose to combine bug-killing stylistic rules from the BARR-C standard with safety guidelines from MISRA C. According to recent industry surveys, BARR-C and MISRA C are the two most widely-followed coding standards, with four out of ten professional embedded system designers applying one or both on their current project.