Uploaded January 2026 | Updated September 2026, 2 weeks ago
cppcon.org
---
API Structure and Technique: Learnings from C++ Code Review - Ben Deane - CppCon 2025
---
C++ is a very versatile language for making APIs. This talk examines some API techniques -- mechanical and structural -- that I've introduced to production libraries, based on reviewing code where folks were trying to achieve their goals, but with suboptimal formulations. C++ was able to do better, albeit sometimes in non-obvious ways.
We'll look at real code: dealing with the complexities of common cross-cutting concerns like IO, concurrency, logging, handling time, or dealing with hardware quirks. API patterns that enable our teams to write code that really achieves zero-cost abstraction at the scale of subsystems. Moving code reviews beyond the "easy mode" recommendations of using algorithms over raw loops, to cultivating a sensibility for code that is more declarative, correct by construction, high performing, and obvious in intent.
More tools in the toolbox means we can solve the important problems more easily and cleanly.
---
Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/API_Structures_and_Techniques.pdf
Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---
Ben Deane
Ben has been programming in C++ for this whole millennium. He spent just over 20 years in the games industry working for companies like EA and Blizzard; many of the games he worked on used to be fondly remembered but now he’s accepted that they are probably mostly forgotten. After getting more interested in modern C++, in the teens he started giving internal company talks and then talks at various conferences, spreading ideas about types, algorithms and declarative and functional techniques.
In 2018 he left the games industry and worked in finance for a short spell, writing high-frequency trading platforms using the most modern C++ that compilers could support. Now he is a Principal Engineer at Intel where he puts monads inside your CPU.
---
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
cppcon.org
---
API Structure and Technique: Learnings from C++ Code Review - Ben Deane - CppCon 2025
---
C++ is a very versatile language for making APIs. This talk examines some API techniques -- mechanical and structural -- that I've introduced to production libraries, based on reviewing code where folks were trying to achieve their goals, but with suboptimal formulations. C++ was able to do better, albeit sometimes in non-obvious ways.
We'll look at real code: dealing with the complexities of common cross-cutting concerns like IO, concurrency, logging, handling time, or dealing with hardware quirks. API patterns that enable our teams to write code that really achieves zero-cost abstraction at the scale of subsystems. Moving code reviews beyond the "easy mode" recommendations of using algorithms over raw loops, to cultivating a sensibility for code that is more declarative, correct by construction, high performing, and obvious in intent.
More tools in the toolbox means we can solve the important problems more easily and cleanly.
---
Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/API_Structures_and_Techniques.pdf
Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---
Ben Deane
Ben has been programming in C++ for this whole millennium. He spent just over 20 years in the games industry working for companies like EA and Blizzard; many of the games he worked on used to be fondly remembered but now he’s accepted that they are probably mostly forgotten. After getting more interested in modern C++, in the teens he started giving internal company talks and then talks at various conferences, spreading ideas about types, algorithms and declarative and functional techniques.
In 2018 he left the games industry and worked in finance for a short spell, writing high-frequency trading platforms using the most modern C++ that compilers could support. Now he is a Principal Engineer at Intel where he puts monads inside your CPU.
---
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










