How to Keep C++ Binaries Small - Techniques for C++ Optimization - Lecture 1
Offered By: cpponsea via YouTube
Course Description
Overview
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
Related Courses
Sane and Safe C++ Class TypesNDC Conferences via YouTube Constexpr ALL the Things!
CppNow via YouTube Goodbye Metaprogramming, and Hello Functional
CppNow via YouTube Constexpr - C++ At Compile Time
CppNow via YouTube C++11 - New Tools for Class and Library Authors
CppNow via YouTube