Building Erlang with Buck2
summary
WhatsApp reports migrating its monorepo of millions of Erlang lines to Buck2 with open‑sourced Erlang rules written in Starlark rules, using a Rust single‑binary build tool, a global cache and remote execution + hybrid local fallback. Full repo builds drop from ~50 minutes with rebar3 to 3.5 minutes uncached and 2 minutes cached, support escripts, releases, containers, C++ NIFs as targets, and incrementality means only affected actions rebuild.
AI-written summary · about
chapters (13)
- 0:00Building Erlang with Buck2
- 1:45WhatsApp’s new build system
- 4:17What is Buck2
- 6:43Buck2 for large projects
- 9:35Erlang and Buck2
- 10:38Building Erlang apps
- 13:52Performance with Buck2
- 15:37Buck2 project setup
- 17:06Live Buck2 demo
- 20:23Extending Buck2
- 23:17Cross-compiling with Buck2
- 25:46Third-party libraries
- 27:00Q&A
related talks
49mAn Introduction to Erlang From behind the Trenches
44mIdioms for Building Fault-tolerant Applications with Elixir
40mOpen Riak how we gained from leaning on the BEAM
34mThe Future of Erlang LS
41mIdioms for building fault-tolerant applications with Elixir
23meqWAlizer - Scaling Erlang development at WhatsApp with static typing
53mIdioms for Building Distributed Fault-tolerant Applications with Elixir
01h 03mThinking Erlang in a connected world
