DiscoverMeta Tech Podcast51: Buck2 - a large-scale build system
51: Buck2 - a large-scale build system

51: Buck2 - a large-scale build system

Update: 2023-04-06
Share

Description

For episode 51, Pascal speaks with Neil and Marie, two of the engineers behind Buck2, our open source, large scale build system. Thousands of developers at Meta are already using Buck2 and performing millions of builds per day that on average complete in half the time of Buck1 builds. Marie and Neil discuss the design choices that make Buck2 so much faster and the various challenges they faced in engineering and open sourcing the build system.

Got feedback? Send it to us on Twitter (https://twitter.com/metatechpod), Instagram (https://instagram.com/metatechpod) and don’t forget to follow our host @passy (https://twitter.com/passy and https://mastodon.social/@passy). Fancy working with us? Check out https://www.metacareers.com/.

Links

Timestamps

  • Intro 0:06

  • Intro Marie 1:30

  • Intro Neil 2:57

  • Why a custom build tool? 4:21

  • Rewriting Buck 6:49

  • Buck2 vs Bazel 8:49

  • Building language support 12:06

  • Buck2 as a developer 13:15

  • Upgrade from Buck1 to Buck2 15:05

  • How is Buck2 faster? 16:31

  • Rust and Profiling 18:44

  • From Python to Starlark 25:54

  • Open-Sourcing 28:18

  • Outro 32:15

 

Comments 
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

51: Buck2 - a large-scale build system

51: Buck2 - a large-scale build system