Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025 @CppCon
Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025  @CppCon
Uploaded March 2026 | Updated November 2026, 3 hours ago
https://cppcon.org​
---

Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025
---

In 2011, C++ introduced a formally defined memory model, providing a foundation for portable, multi-threaded code with well-defined correctness guarantees. This was a major milestone, enabling expressive threading primitives and safe concurrency patterns while allowing low-level optimizations for performance.

By default, C++ atomics enforce sequential consistency, which ensures intuitive, predictable behavior. However, these strong guarantees often exceed what’s necessary for correctness and come with a performance cost.

This talk delves into weaker memory orderings, particularly acquire/release and relaxed semantics, using a ring buffer as a practical example of how they can be used. We’ll also examine how the C++ memory model maps to real hardware, focusing on x86’s native guarantees, and comparing against less coherent platforms like ARM. We'll explore how strategic use of weaker synchronization can unlock significant performance gains without sacrificing correctness.
---

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Christopher Fretz
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025Dynamic Asynchronous Tasking with Dependencies - Tsung-Wei (TW) Huang - CppCon 2025Mastering the Code Review Process - Pete Muldoon - CppCon 2025The Dangers of C++: How to Mitigate Them and Write Safe C++ - Assaf Tzur-ElChoose the Right C++ Parallelism Tool | Low-Level vs Async vs Coroutines vs Data ParallelWhy C++ will never be simple #cpp #coding #techSeamless Static Analysis with Cppcheck: From IDE to CI and Code Review - Daniel Marjamäki - CppConModern C++ for Embedded Systems: From Fundamentals to Real-Time Solutions - Rutvij Girish KarkhanisReflection: C++’s Decade-Defining Rocket Engine - Herb Sutter - CppCon 2025Lightning Talk: A C++20 Modules Performance Field Report - Tyler Drake - CppCon 2025Lightning Talk: The Classic Missed-Signal! - Gopal Rander - CppCon 2025Why Every C++ Developer Should Attend CppCon 2026 - 12th-18th September
CppCon |

Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER