Thought Leadership

MISRA C anniversary

I have always liked the C language. Initially the appeal was its power and the possibility to write very succinct code. My early experiences with the language [at which time I was often involved in tech support] quickly taught me that writing readable and maintainable code was a necessity, as the language can quickly lead you astray. With this in mind, it was 15+ years ago that my attention was drawn to MISRA C …

MISRA C is not a language, but rather a set of guidelines to using standard C to write reliable [safe] code. The standard was defined by the Motor Industry Software Reliability Association [hence, MISRA] and originally targeted at developers of automotive software. It was quickly realized that nothing about the standard was specific to automotive applications; it was just as applicable to other industry sectors where reliability of code was critical – e.g. medical, industrial, etc.

The first edition of the standard – Development Guidelines for Vehicle Based Software – was published in 1994, so this year is the 25th anniversary! That is a long time in high-tech and interest and take-up of MISRA C has never been higher. You can read more about the anniversary and history of MISRA C here and here.

My personal involvement in MISRA C has been in recent years. I present on the topic at conferences, webinars, etc. Indeed, this is a subject that I will be addressing at Embedded World next year – watch this space. A couple of years ago, I was invited to join the MISRA C Working Group. This is the team who maintain the standard, publish updated editions and answer users’ questions. So far, my contribution has been modest, but I have appreciated the insight into the thought and hard work that goes into the maintenance of such a standard.

Colin Walls

I have over thirty years experience in the electronics industry, largely dedicated to embedded software. A frequent presenter at conferences and seminars and author of numerous technical articles and two books on embedded software, I am a member of the marketing team of the Mentor Graphics Embedded Systems Division, and am based in the UK. Away from work, I have a wide range of interests including photography and trying to point my two daughters in the right direction in life. Learn more about Colin, including his go-to karaoke song and the best parts of being British: http://go.mentor.com/3_acv

More from this author

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/embedded-software/2019/12/16/misra-c-anniversary/