Teresa Johnsons Center Keynote: ThinLTO Whole Program Optimization: Past, Present and Future

published at 04.11.2020 14:57 by Jens Weller

With Meeting C++ 2020 being next week, lets look at Teresa Johnsons Center Keynote:

ThinLTO Whole Program Optimization: Past, Present and Future

Whole program optimization enables higher performance in C++ applications, because of the expanded scope for analysis and optimization. Traditionally, whole program optimization is not scalable in memory or time, and doesn't support effective incremental builds. ThinLTO (Thin Link Time Optimization) is a new compilation model that was implemented a few years ago in the LLVM compiler toolchain to enable scalable whole program optimization for huge C++ applications, and the fast incremental builds required for use in day-to-day development. It is now the default compilation mode for Google's C++ applications running in production.

In this talk I'll give an overview of ThinLTO, describe our experience and learnings when deploying it at scale, and detail some of the recent and future whole program optimizations enabled by the framework.

Teresa Johnson

Teresa Johnson

Last weeks CppCast featured Teresa Johnson, where she already gave a short introduction into the topic. ThinLTO and related techniques are a great way to gain performance and optimize your applications further in a way that isn't directly related to a standard or other features of your own C++ code. Its something you might want to look at, I expect the keynote will go more indepth then she could do in her CppCast episode.

Join the Meeting C++ patreon community!
This and other posts on Meeting C++ are enabled by my supporters on patreon!