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.
Comments
0 thoughts about “Video blog: volatile keyword in embedded software”
Leave a Reply
You must be logged in to post a comment.
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.
@Rod – I agree, that paper is informative.
This is really cool