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

YouTube

Beyond Sequential Consistency - Leveraging Atomics for Fun and Profit

CppNow via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced C++ memory models and atomic operations in this comprehensive conference talk that moves beyond the default sequential consistency guarantees to unlock significant performance improvements. Learn how C++'s formally defined memory model, introduced in 2011, provides the foundation for portable multi-threaded code, then dive deep into weaker memory orderings including acquire/release and relaxed semantics. Examine practical implementations through a ring buffer example that demonstrates how strategic use of weaker synchronization can maintain correctness while boosting performance. Discover how the C++ memory model maps to real hardware architectures, with detailed comparisons between x86's native guarantees and less coherent platforms like ARM. Master the techniques for leveraging atomic operations effectively in high-performance applications while understanding the trade-offs between safety and speed in concurrent programming scenarios.

Syllabus

Beyond Sequential Consistency - Leveraging Atomics for Fun & Profit - Christopher Fretz C++Now 2025

Taught by

CppNow

Reviews

Start your review of Beyond Sequential Consistency - Leveraging Atomics for Fun and Profit

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.