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

YouTube

How to Keep C++ Binaries Small - Techniques for C++ Optimization - Lecture 1

cpponsea via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover techniques for optimizing C++ binary sizes in this comprehensive conference talk from C++ on Sea 2024. Explore coding practices that reduce executable size, including object initialization and special member function implementation. Examine the impact of dynamic polymorphism, virtual functions, and templates on binary size. Learn about the effectiveness of constexpr and its limitations. Delve into compiler and linker flags that significantly affect executable size, often surpassing code-level optimizations. Investigate the trade-offs of disabling run-time type information and exceptions. Gain valuable insights into balancing binary size reduction with functionality, equipping yourself with strategies to optimize C++ applications for embedded and mobile environments where size constraints are crucial.

Syllabus

How to Keep C++ Binaries Small - Techniques for C++ Optimization - Sandor Dargo - C++ on Sea 2024

Taught by

cpponsea

Reviews

Start your review of How to Keep C++ Binaries Small - Techniques for C++ Optimization - Lecture 1

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.