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

YouTube

Return Value Optimization (RVO) for Performance in C++ Codebases

CppCon via YouTube

Overview

Discover the power of Return Value Optimization (RVO) in this comprehensive conference talk from CppCon that explores how to leverage this compiler optimization technique for enhanced C++ code performance. Gain insights into different aspects of RVO, from its standardization in 1997 to its implementation in modern codebases, suitable for developers at all skill levels. Explore the technical details of copy elision in the C++ Standard, analyze Assembly code with RVO enabled, and learn practical guidelines for ensuring compiler application of RVO. Through real-world examples from production environments, examine how engineers can optimize their code to achieve significant time and space benefits. Follow along as the speaker, a Bloomberg Software Engineer, demonstrates concrete performance improvements achieved through this optimization technique, particularly valuable for those working with large-scale or high-performance systems.

Syllabus

C++ RVO: Return Value Optimization for Performance in Bloomberg C++ Codebases - Michelle Fae D'Souza

Taught by

CppCon

Reviews

Start your review of Return Value Optimization (RVO) for Performance in C++ Codebases

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.