Overview
Explore the intricacies of the volatile keyword in C++ programming through this comprehensive conference talk from CppCon 2024. Learn essential techniques for writing robust device drivers while avoiding common volatile-related mistakes. Master the fundamental reasons behind volatile's necessity, understand its impact on compiler-generated code, and discover proper object declaration practices. Gain insights into compiler statement reordering rules around volatile objects, common misuse patterns to avoid, and strategies for maintaining efficiency when working with volatile objects. Delivered by Ben Saks, chief engineer of Saks & Associates and ISO C++ Standards committee member, this technical presentation offers valuable knowledge for C++ developers working on embedded systems and hardware interfaces.
Syllabus
What Volatile Means (and Doesn’t Mean) in C++ Programming - Ben Saks - CppCon 2024
Taught by
CppCon