When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya @CppNow
When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya  @CppNow
Uploaded September 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya - C++Now 2026
---

Many C++ developers assume that atomics are always faster than mutexes. After all, atomics map directly to hardware instructions, while mutexes may involve OS‑level locking and kernel transitions. But real‑world benchmarks across different CPU architectures tell a more nuanced story.

This talk explores cases where atomics are slower than mutexes, particularly on ARM architectures such as Apple Silicon. The root cause lies in how C++’s memory model interacts with hardware memory models: x86’s strong ordering makes atomic operations relatively cheap, while ARM’s weaker ordering requires additional barriers that introduce measurable overhead. Combined with OS scheduling behavior, these differences can invert expected performance.

Attendees will learn how synchronization primitives behave across architectures, how to design meaningful benchmarks, and how to choose the right mechanism for cross‑platform high‑performance systems.
---

Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/When_Atomics_Lose.pptx

think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Sampad Acharya

I’m a Senior Software Engineer at Bloomberg, specializing in low‑latency, cache‑optimized C++ systems for trading and real‑time environments. I have been in the software development industry for 6 years now.

I’m deeply interested in how algorithms behave in the real world—across CPU caches, branch predictors, and memory hierarchies—and I enjoy sharing insights that connect theoretical expectations with actual performance. Outside of work, I spend time on robotics, embedded systems, and building end‑to‑end C++ control stacks.


---

C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow​
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: Bloomberg
---

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

#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk
When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad AcharyaA Little Introduction to Control Flow Integrity in C++ - James McNellis - C++Now 2026Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure ConceptsReflection Is Good for C++ Code Health - Saksham Sharma - C++Now 2024Making A Program Faster - Multithreading & Automatic Compiler Vectorization - Ivica BogosavljevicCppNow 2024 Session Preview with Bret Brown and @cppeventsLightning Talk: How to Leverage SIMD Intrinsics for Massive Slowdowns - Matthew Kolbe - CppNow 2023Unit Testing an Expression Template Library in C++20 - Braden Ganetsky - C++Now 2024Concept Maps using C++23 Library Tech - Indirection to APIs for a Concept - Steve Downey - C++Now 24Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025Extending std::execution - Implementing Custom Algorithms with Senders & Receivers - C++Now 2025Towards Async Everything Part 2 - Scopes, Construction, and Destruction - Robert Leahy - C++Now 2026
CppNow |

When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER