Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew Drakeford @CppCon
Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew Drakeford  @CppCon
Uploaded December 2025 | Updated November 2026, 23 hours ago
cppcon.org
---

Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew Drakeford - CppCon 2025
---

Data-oriented design (DOD) has gained traction for its practical approach to solving real-world problems. Refactoring data into an Entity-Component format sets the stage for cleaner, more efficient implementations, where lambdas process ranges and SIMD operations exploit the power of contiguous data layouts. DOD is widely recognised for addressing hardware-related performance challenges, but where do these challenges originate? The engineers behind our hardware platforms didn’t design performance bottlenecks; they created performance opportunities. By engineering how our code interacts with hardware, we can unlock these opportunities and achieve substantial speed-ups. The key lies in understanding and exploiting the state of the system. From the instruction cache and registers to the L1 cache and memory access patterns, the processor's statefulness plays a crucial role in performance. Writing ""hardware-friendly"" code is fundamentally about aligning with this state. But hardware is only part of the equation. What about the statefulness of our software? By carefully engineering the sequence of operations and algorithms to align with both hardware and software states, we can achieve unparalleled optimization. This is the missing step. Engaging with the design problem in full can be very difficult. We leverage George Polya’s problem-solving process and heuristics to guide our approach. This presentation explores these principles through real-world examples in machine learning and mathematical finance, demonstrating how addressing both sides of the problem can improve performance by orders of magnitude. (Yes, even six orders of magnitude.) Attendees will leave with insights into the exploration process and actionable techniques that might lead to achieving similar gains in their own work. It has been noted that some attendees might start drawing more diagrams when problem-solving and have an overwhelming urge to get Polya’s book.

---

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

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

Andrew Drakeford

Andrew Drakeford A Physics PhD who started developing C++ applications in the early 90s at British Telecom labs. For the last two decades, he has worked in finance developing efficient calculation libraries and trading systems in C++. His current focus is on making quant libraries more ecologically sound. He is a member of the BSI C++ panel.

Interests include software architecture, SIMD, CUDA, HPC, low latency, quant finance, ML, RL, and systematic market-making strategies.
---

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
Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew DrakefordLearn Why Experts Are Excited About C++ Reflection At Barry Revzins CppCon 2025 Talk!LLMs in the Trenches: Boosting C++ System Programming with AI - Ion Todirel - CppCon 2025Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching  - Andrew KasterLightning Talk: Only Forward: Why Concurrency Works in C++ - Thomas Cassell - CppCon 2025The Wonderful World of Designing a USB Stack Using Modern C++ - Madeline Schneider - CppCon 2025Parallel Range Algorithms: The Evolution of Parallelism in C++ - Ruslan Arutyunyan - CppCon 2025Back To Basics: C++ Strings and Character Sequences - Nicolai Josuttis - CppCon 2025Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025Is Your AI Model Lying to You? The Reproducibility ProblemInteresting Upcoming Low-Latency, Concurrency, and Parallelism Features - CppCon 2025How C++ Finally Beats Rust at JSON Serialization - Daniel Lemire & Francisco Geiman Thiesen
CppCon |

Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew Drakeford

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER