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

YouTube

Optimizing Away C++ Virtual Functions May Be Pointless

CppCon via YouTube

Overview

Explore the controversial topic of optimizing C++ virtual functions in this thought-provoking conference talk from CppCon 2023. Delve into the common belief that virtual functions should be avoided and examine the validity of this notion. Investigate the performance implications of virtual functions, their alternatives, and the associated trade-offs. Gain insights into the origins of this optimization mindset and understand how virtual functions interact with modern CPU architectures. Challenge preconceived notions about benchmarking and optimization techniques. Leave with a deeper understanding of the complexities surrounding virtual function optimization and the ability to ask more informed questions about performance in C++ programming.

Syllabus

Optimizing Away C++ Virtual Functions May Be Pointless - Shachar Shemesh - CppCon 2023

Taught by

CppCon

Reviews

Start your review of Optimizing Away C++ Virtual Functions May Be Pointless

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.