Overview
Discover performance optimization techniques for C++ programming in this conference talk from C++ on Sea 2024. Learn how simple, understandable C++ code can outperform sophisticated implementations like GLIBC through methodical approaches to optimization. Explore key performance principles including branchless programming, converting control dependencies to data dependencies, strategic branch placement, and both explicit and implicit speculative computation. Examine real benchmarks and source code comparisons that demonstrate how professional code can inadvertently hurt performance by not following these recommendations. Gain insights into creating infrastructure code that automatically enables high performance when used by other programmers, specifically leveraging C++'s unique capabilities. Led by Eduardo Madrid, an experienced technology leader from companies like Snap and high-frequency trading firms, understand how to avoid common pitfalls that prevent processors from reaching full capabilities, particularly in out-of-order execution scenarios.
Syllabus
Comparison of C++ Performance Optimization Techniques for C++ Programmers - Eduardo Madrid 2024
Taught by
cpponsea