CppCon 2018:H. Wright “Large-Scale Changes at Google: Lessons Learned From 5 Yrs of Mass Migrations”

CppCon2 HN recommenders · 2019–2024
16K views · talk · evergreen · Uploaded 2018-11-12

Hyrum Wright shares lessons from five years of mass code migrations in Google's huge C++ codebase. He covers why to migrate, how hard it really is, and how Google updates core libraries and their users continually.

HN points to it in monorepo and refactoring discussions as a great account of large-scale changes at Google.

Watch on YouTube

3 comments from Hacker News

@svat2019 · in “Monorepos: Please don’t”

See Hyrum Wright's talks on Large-Scale Changes at Google: [LINK] (CppCon2014), [VIDEO] (CppCon 2018), and paper by Googlers on ClangMR ( [LINK] ). It's great! And if you'd like to learn more about how monorepos work in practice there's a couple of papers: [LINK] and [LINK] (Also worth reading: [LINK] )

RecommendsView on HN
@joshuamorton2021 · in “Rf: an experimental refactoring tool for Go”

> Refactors are rarely as simple as moving a few file names or symbols around, at least where I work. While we do have some automation to help (and not break existing consumers), it’s significantly more involved in an SOA architecture for tier1 services. These sorts of big refactors also generally come with data model changes, performance profiling etc. This tool seems fantastic for parts of that, but not all of it. Yes, I'd refer to that as a migration, which absolutely is a lot of effort, but a tool like this isn't going to be particularly helpful with a migration precisely because the majority of the effort with such a migration will be like...doing all the data stuff and traffic stuff. Changing the code is a minimal part. A refactor is often not a thing that even registers at a smaller company, because its on the scale of a few files. But "Large Scale Changes" are a thing when you end up having millions of lines of code ( [VIDEO] ), and tools like this one are useful for those kinds of changes. But a single LSC won't get you promoted. And rf is neat, but in a very go way, it's not particularly exciting if you're familiar with [LINK] or [LINK] or clangmr or [LINK] , or outside of google Semgrep and Bowler and others, since its essentially the same, but built in go for go. > Just as a friendly aside, your tone seems strangely defensive (though this may just be my fault reading this tired at 3AM) Not at all. I was however, pointing out that "this was really just a way to bra

@ted_dunning2024 · in “Monorepo – Our Experience”

Coupling happens due to other reasons than poor contracts. The discussions from Hyrum Wright from Google about large-scale refactoring are great in this respect. [VIDEO]

RecommendsView on HN