Thought Leadership

Video blog: volatile keyword in embedded software

My latest video blog is now available. I am talking about the volatile keyword in C/C++, which is of vital importance to embedded developers. You can see the video here or here:

Future video blogs will continue to look at topics of interest to embedded software developers. Suggestions for topics are always welcome via comment, email or social networking.

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

Comments

0 thoughts about “Video blog: volatile keyword in embedded software
  • Good summary. I also always refer our developers here to John Regehr’s definitive paper “Volatiles are mis-compiled, and what to do about it” which cover the dangers of optimizers that (erroneously) remove reads and writes that are required for volatile objects. His analysis showed almost all compilers were defective, so you have to be rather careful to make sure that volatiles are compiled correctly.

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/embedded-software/2016/07/25/video-blog-volatile-keyword-in-embedded-software/