Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Implementing Your Own Atomics

CppCon via YouTube

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

Reviews

Start your review of Implementing Your Own Atomics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.