Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement custom atomic types for concurrent programming in environments where standard library support is unavailable, particularly on embedded platforms like AVR-GCC that lack the header. Discover how to create your own atomic objects that enable the use of lock-free data structures and algorithms commonly found in tutorials and open-source libraries. Explore the fundamental principles behind atomic type implementation, including memory ordering semantics and hardware-specific considerations for embedded systems. Gain insights into how atomic operations work at a low level, which will enhance your ability to use standard atomic types more effectively on platforms that do provide native support. Master techniques for building concurrent software components that can serve as drop-in replacements for std::atomic instantiations, expanding your access to existing lock-free algorithms and data structures. Understand the relationship between atomic operations and hardware memory models, particularly in resource-constrained embedded environments where every instruction cycle matters.
Syllabus
Implementing Your Own Atomics - Ben Saks - CppCon 2025
Taught by
CppCon