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

Channel:CppCon · Length:1:00:16 · Published:2018-11-12 · Views:15759

Watch on YouTube

Summary

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.

Why HN recommends it

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

The discussions from Hyrum Wright from Google about large-scale refactoring are great in this respect. — HN, 2024

C, C++, Rust, Go & systems languages · Software practice, open source & careers

Subtitles (excerpt)

- My name is Hyrum Wright, and you are in Large-Scale Changes at Google. If this is not where you wanna be, stay anyway. You'll hopefully learn something. It is Friday, the last day of CppCon. I am exhausted. I don't know if anyone else is, but I'm exhausted. I feel like this conference is essentially a conference about power tools. It's not even a conference about power tools, it's a conference about how to build your own power tools. No one tells you how to, the manual to maintain them after you've built them. So you go home and you build some kind of chainsaw contraption with 17 different blades and maybe a leaf blower attached 'cause the (mumbles)and the compiler will give it to you for free. You go home and you build this thing, and now you don't know how to actually maintain it and keep it going long term. Hopefully this talk, we'll talk a little bit about how at Google we've spend a lot of time investing in large-scale migration, tooling and process, and some of those types of things that hopefully you can take back to your organizations. The standard warning you get at the beginning of a very long email. Whoa. That is not the warning you usually get. There we go. You can ignore this presentation if

On Hacker News

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] — ted_dunning, 2024-11
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] ) — svat, 2019-01
> 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… — joshuamorton, 2021-05

Related videos