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

YouTube

The Hitchhiker's Guide to Faster Builds - Part 2 of 2

code::dive conference via YouTube

Overview

Explore techniques to significantly reduce C++ build times in this comprehensive conference talk from code::dive 2018. Delve into the reasons behind long compilation and linking times in C++, and discover an extensive array of tools and methods to address this productivity-hindering issue. Learn about parallel builds, meta build systems, linking strategies, compiler caches, distributed builds, and hardware optimizations. Gain insights into the PIMPL idiom, effective template usage, and code annotations. Understand the concept of C++ modules, their history, motivation, and implementation, as well as their impact on obsolete techniques. Acquire practical knowledge to enhance your C++ development workflow and boost productivity through faster build times.

Syllabus

Intro
Parallel builds
Meta build systems
Sort-of winners (in terms of speed)
Possible build system improvements
Internal vs external linkage
Static vs dynamic linking
Dynamic linking - symbol visibility
Multiplatform symbol export annotations
Linkers - LTO and other flags
Compiler caches
Distributed builds
Hardware
Physical design
Dependency analysis
Modules - history
Modules - motivation
Modules - VS 2017 example
Modules - how they work
Modules - obsolete techniques
Modules - the current state
Next steps
Enforcing

Taught by

code::dive conference

Reviews

Start your review of The Hitchhiker's Guide to Faster Builds - Part 2 of 2

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.