How did Google refactor 250M lines of C++ code, pre-AI, what happened when Search could no longer…
@GergelyOrosz373 тыс. подписчиков
94 648 просмотров
30 комментариев
Комментарии из оригинального поста в X (Twitter)

@SeanTAllen
@TitusWinters Oooo Titus. Need to watch this one for sure for sure.
2 отметки «Нравится»

@pamelafox
@TitusWinters I loved earning my readability badges. I got them at a time when my technical abilities were being questioned due to DevRel being associated with marketing, and I wanted proof of my abilities. I also went on-call around that time. Both were great learning opps.
1 отметка «Нравится»

@marcos_placona
@TitusWinters 14:32 then 23:09 is the order I'd watch it in. Google could rewrite 250M lines of C++ because testing was mandatory first, and that's the same thing I need before I let Codex or Claude Code touch half a repo.
1 отметка «Нравится»

@BanfiMatei
pre AI yeah but Google was already pretty automated. their monorepo paper in 2016 had 25,000+ engineers doing about 16,000 commits a typical workday, and another 24,000 coming from automated systems so more than half the commits werent from ppl even back then. curious how much of the C++ refactor rode on that

@viral1010
@TitusWinters Agreed. Hiring more people rarely fixes a broken process. Fix how you ship and how you know quality first. Headcount after that.

@opsRich
CS curricula were already considered outdated a decade ago. But their purpose was never to chase industry trends. It was to provide a deep understanding of computing fundamentals. Bootcamps, despite their reputation, have traditionally focused on preparing developers for the job market. CS education, meanwhile, has laid the groundwork for researchers, kernel developers, database engineers, and other highly specialized roles. It's a distinction many people overlook. And now, with AI reshaping the industry, we're facing another major shift in how we educate and train software professionals.

@kaluops
@TitusWinters the pre-ai part is the interesting bit, google split huge changes into many small reviewable ones, that's the same shape agent refactors need now

@berwin_singh
@TitusWinters Does Titus think agents would've made the 250M line refactor much faster, or were the regressions always the slow part

@theomlondhe
@TitusWinters the part that always gets me is it only worked because everything sat in one repo with tests people actually trusted. at most companies a big rename means chasing twelve teams for approvals

@golamkabir
@TitusWinters The Search cadence part is the real story. Once regressions slow your releases, every change gets bigger and riskier, and it compounds.

@cheneypiano
@TitusWinters The redo-the-CS-curriculum part is what I want to hear. What do you even teach first when AI writes most of the code? My guess is debugging and judgment.

@atifatpl
@TitusWinters The readability gate is the part that stopped scaling. Across our teams diff volume jumped this year, the pool certified to approve it did not.

@LouieMota88
@TitusWinters honestly the readability reviewer is the part i'd copy now agents get the logic right way more often than they write something i can still follow 2 weeks later

@raulnogales
@TitusWinters The detail that stays with me is testing becoming mandatory only after Search stopped shipping on cadence. That sequence matters now. Teams want agents writing far more code before they have built the tests that would let them trust any of it, human or machine written.

@mkanat
@TitusWinters Yes!! @TitusWinters is the best people.

@drjerryasmith
@TitusWinters Google's 2007 fix is the one I'd copy for coding agents: no change merges without a test, and the test has to fail on the old code before it passes on the new. Agents made writing code cheap. The test is now the part of the change that tells you whether it works.

@ragzoi
@TitusWinters google's large-scale change tooling ignores recently flaky tests on automated submits, since a machine-generated refactor earned more trust than a flaky test. swe at google admits a regression can then only show up as that test going from flaky to failing

@johnnylevai
@TitusWinters This is such a good assessment. General CS skills and diplomas are less valuable than they used to be. My advice to CS students: build and deploy your ideas to production. Don't wait until you graduate. You need to get ahead of the pack ASAP

@AdamPrime20261
@TitusWinters big refactors are mostly a people problem wearing a compiler costume

@StephenBuildsAI
@TitusWinters refactoring 250M lines of C++ without breaking Search is the real benchmark. every agent that migrated a todo app this week should be graded against it










