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
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










