Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Comparison of C++ Performance Optimization Techniques - 2024

cpponsea via YouTube

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

Reviews

Start your review of Comparison of C++ Performance Optimization Techniques - 2024

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.