Uploaded May 2026 | Updated September 2026, 3 weeks ago
https://cppcon.org
---
Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025
---
This talk is about using a type trait to detect when callables are accepting their arguments by value, when they should be accepting them by reference. E.g. You probably shouldn't be accepting arguments by value in your sorting predicate... Especially when your type is large or allocates.
We can then use this type trait to turn these kinds of runtime performance issues into a compiler error.
*Note: this lightning talk is based on a part of my talk that I cut out due to time constraints, and so most of the content of this lightning talk already exists as part of my ACCU 2025 video*
---
Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---
Keith Stockdale
Keith Stockdale is a Northern Irish senior software engineer who has been working on the Engine and Rendering teams at Rare Ltd for the last 8 years working on Sea of Thieves. At Rare, Keith's main areas of focus are involved in maintaining and creating general purpose simulations that run on the GPU. For example, he is the owner of the GPU particle system that drives the visual effects in Sea of Thieves. Keith is enthusiastic about promoting writing good quality code, whether it is running on the CPU on the GPU. He is driven towards ensuring that the code-bases he works in are enjoyable to work in for all current and future developers on his team.
---
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
https://cppcon.org
---
Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025
---
This talk is about using a type trait to detect when callables are accepting their arguments by value, when they should be accepting them by reference. E.g. You probably shouldn't be accepting arguments by value in your sorting predicate... Especially when your type is large or allocates.
We can then use this type trait to turn these kinds of runtime performance issues into a compiler error.
*Note: this lightning talk is based on a part of my talk that I cut out due to time constraints, and so most of the content of this lightning talk already exists as part of my ACCU 2025 video*
---
Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---
Keith Stockdale
Keith Stockdale is a Northern Irish senior software engineer who has been working on the Engine and Rendering teams at Rare Ltd for the last 8 years working on Sea of Thieves. At Rare, Keith's main areas of focus are involved in maintaining and creating general purpose simulations that run on the GPU. For example, he is the owner of the GPU particle system that drives the visual effects in Sea of Thieves. Keith is enthusiastic about promoting writing good quality code, whether it is running on the CPU on the GPU. He is driven towards ensuring that the code-bases he works in are enjoyable to work in for all current and future developers on his team.
---
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










