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

YouTube

The Most Important Optimizations to Apply in Your C++ Programs - CppCon 2022

CppCon via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the most crucial optimizations for C++ programs in this comprehensive conference talk from CppCon 2022. Delve into efficient programming techniques, performance goals, and practical examples presented by Jan Bielak. Learn about compiler optimizations, fast math, link-time optimization, unity builds, static linking, and profiling. Discover the importance of const, global variables, noexcept, static, inline attributes, and function boundaries. Gain insights into exception handling, value-qualified member functions, cache optimization, branch prediction, and SIMD intrinsics. Understand performance pitfalls and best practices to enhance your C++ code without sacrificing readability or maintainability.

Syllabus

Introduction
Overview
Goals
Examples
Compiler Optimizations
Fast Math
Link Time Optimization
Unity Builds
Linking Statically
Profiles
Compilers
Binary Post Processing
C Plus Code
Const
Global variables
No except
Static
Inline
Attributes
Likely
Assume
Restrict
Provenance
Function Boundaries
Exception Handling
Value Qualified Member Functions
Cache
Branch Predictor
SIMD
Intrinsics
Conclusion
Questions

Taught by

CppCon

Reviews

Start your review of The Most Important Optimizations to Apply in Your C++ Programs - CppCon 2022

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.