“C++ as a "Live at Head" Language”
summary
Google runs a monorepo with ~250M lines of C++ and 12,000 active developers and claims C++ can be maintained by building from head rather than pinning releases. The plan centers on Live at Head plus automated edits (millions of edits, clang-tidy/clang tooling), shipping Abseil with a five‑year compatibility window, and providing migration tools for API changes so maintainers can update users. Rules: don’t rely on ADL or internal/ABI details, expect namespace additions, and require unit tests and well‑behaved code for safe automated refactors.
AI-written summary · about
chapters (11)
- 0:00Introduction by Chandler Carruth
- 2:58Motivation for Live at Head
- 8:01Software engineering vs programming
- 15:02Dependency management challenges
- 27:59Solving diamond dependencies
- 39:26Introducing Abseil libraries
- 43:42Abseil compatibility guidelines
- 53:58Abseil features and design
- 1:01:20Why C++ suits Live at Head
- 1:04:30Call to action for Live at Head
- 1:08:33Q&A session
related talks
01h 00mLarge-Scale Changes at Google: Lessons Learned From 5 Yrs of Mass Migrations
01h 31mClean(er) Code for Large Scale Legacy Applications
01h 35mImpact on maintainability and refactoring for higher-level design features
01h 37mC++ And Beyond: Discussion
45mWorking with C++ Legacy Code
36mCode Mending in the AI age
01h 29mC++ API & ABI versioning
01h 31mWhat C++ Needs to be Safe
