Creating Google's build system (Bazel origins)

Distributed databases with Peter Mattis

Topic 3 of 13

Published Sep 30, 2026 · Clip 14:54–17:27 (2:33)

Peter explains how Google's monolithic repo evolved from Google 1 to Google 2, which relied on a giant unwieldy Make file. He laid the foundation for Google 3 by introducing build files — a stripped-down Python that generated a Make file so engineers didn't have to write one. This evolved into Blaze internally and Bazel and Buck externally. He explains that Make is like assembly language for dependencies, and higher-level build files enable cleaner semantics plus caching and performance improvements at Google scale.