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

cpponsea via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Explore advanced memory ordering techniques in C++ atomics beyond the default sequential consistency model in this comprehensive conference talk. Discover how C++'s formally defined memory model, introduced in 2011, enables portable multi-threaded code with well-defined correctness guarantees while allowing for low-level performance optimizations. Learn about weaker memory orderings, particularly acquire/release and relaxed semantics, through practical examples including ring buffer implementations that demonstrate how these techniques can be effectively utilized. Examine the mapping between C++'s memory model and real hardware architectures, with detailed comparisons between x86's native guarantees and less coherent platforms like ARM. Understand how strategic implementation of weaker synchronization primitives can unlock significant performance improvements without compromising code correctness, making this essential knowledge for C++ developers working on high-performance, concurrent applications.

Syllabus

Beyond Sequential Consistency - Leveraging Atomics for Fun & Profit - Christopher Fretz - C++ on Sea

Taught by

cpponsea

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.