Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025 @CppCon
Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025  @CppCon
Uploaded December 2025 | Updated November 2026, 5 days ago
cppcon.org
---

Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025
---

Atomic objects are extremely useful for concurrent programming. Unfortunately, some embedded toolchains like AVR-GCC omit portions of the C++ Standard Library, including headers like <atomic> .This makes it much harder to program concurrent software on these platforms, since many tutorials and open-source libraries assume Standard Library support. For example, these talks from past CppCons present lock-free data structures and algorithms that rely strongly on lock-free instantiations of std::atomic<T>:

- Single Producer Single Consumer Lock-free FIFO From the Ground Up – Charles Frasch – CppCon 2023
- Introduction to Wait-free Algorithms in C++ Programming – Daniel Anderson – CppCon 2024
- User API & C++ Implementation of a Multi Producer, Multi Consumer, Lock Free, Atomic Queue – Erez Strauss – CppCon 2024

This session will show you how to implement your own atomic types in the absence of library support. These atomic types can greatly expand the number of tutorials and open-source libraries available for you to use. A clear understanding of how atomic types are implemented will also help you use objects of those types more effectively on platforms that do provide native support.

---

Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/Implementing_Your_Own_Atomics.pdf

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

Ben Saks

Ben Saks is the chief engineer of Saks & Associates, which offers training and consulting in C and C++ and their use in developing embedded systems. Ben has represented Saks & Associates on the ISO C++ Standards committee as well as two of the committee’s study groups: SG14 (low-latency) and SG20 (education). He has spoken at industry conferences, including the C++ and System Software Summit, the Embedded Systems Conference, NDC Techtown, and CppCon, where he’s also chair of the Embedded Track and a member of the program committee. Ben previously worked as a software engineer for Vorne Industries, where he used C++ and JavaScript to develop embedded systems that help improve manufacturing productivity in factories all over the world. He’s also a contributing author on multiple Vorne patents.
---


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 #programming #coding #softwareengineering
Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025Interesting Upcoming Low-Latency, Concurrency, and Parallelism Features - CppCon 2025How C++ Finally Beats Rust at JSON Serialization - Daniel Lemire & Francisco Geiman ThiesenCMake Doesnt Have to Be Painful | Simple Strategies That Work - Bret Brown - CppCon 2025Connecting C++ Tools to AI Agents Using the Model Context Protocol (MCP) - Ben McMorran - CppConBack to Basics: C++ Concepts - Jeff Garland - CppCon 2025Is The Future of C++ Refactoring Declarative? - Andy Soffer - CppCon 2025Why Is My C++ Build So Slow? Compilation Profiling and Visualization - Samuel Privett - CppCon 2024C++ in the Age of AI: How Visual Studio Is Evolving - Augustin Popa & David Li - CppCon 2026Lightning Talk: Bool - Implicitly Dangerous - Jeff Garland - CppCon 2025C++26 - Whats In It For You? - Marc Gregoire - CppCon 2025Lightning Talk: But I was doing the right thing! - Andrei Zissu - CppCon 2025
CppCon |

Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER