Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025 @CppCon
Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025  @CppCon
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
Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025Lightning Talk: Using PMR in C++ Embedded Systems for Functional Safety - Scott Dixon - CppCon 2024Your Optimized Code Can Be Debugged - Heres How With MSVC C++ Dynamic Debugging - Eric BrumerLightning Talk: When Computers Cant Math - Floating Point Rounding Error ExplainedLightning Talk: Execution Policies: Not a Forward Progress Guarantee - Ruslan ArutyunyanPractical Reflection With C++26 - Barry Revzin - CppCon 2025Optimize Automatic Differentiation Performance in C++ - Steve Bronder - CppCon 2025C++ Sender Patterns to Wrangle C++ Concurrency in Embedded Devices - Michael Caisse - CppCon 2024Debugging C++ Coroutines in GDB - Zartaj Majeed - CppCon 2025Back to Basics: Lifetime Management in Cpp - Phil Nash - CppCon 2024Lightning Talk: Chplx - Bridging Chapel and C++ for Enhanced Asynchronous Many-Task ProgrammingUsing Modern C++ to Build XOffsetDatastructure - Zero-Encoding & Zero-Decoding Serialization Library
CppCon |

Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER