~/talk

Large-Scale Changes at Google: Lessons Learned From 5 Yrs of Mass Migrations

Talkat CppCon 2018 · 2018-09-23..09-28· [software-architecture]
name:H. Wright
links:none on file
slides:none on file

Google runs migrations across a single monorepo of 2 billion lines of code with ~60k changes/day and hundreds of millions of C++ lines, and succeeds by using AST tools (not regex), automation and process: Clang MR, clang-format and clang-tidy for rewrites and regression prevention, Kythe for semantic dependency queries, robots that submit hundreds of CLs, incremental non-atomic refactors (example: converting ~500k scoped_ptr uses to unique_ptr in small batches, typically 25 files at a time), and centralized owners who can flip a single rollout bit.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 13:06Non-atomic refactoring approach
  3. 14:54Lesson one: Testing
  4. 18:43Lesson two: Know your codebase
  5. 24:23Lesson three: Incrementality
  6. 37:14Lesson four: Hyrum's law
  7. 41:49Organizational changes
  8. 54:11Design systems for change
  9. 57:03Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.