~/talk

Building Erlang with Buck2

Talkat Code BEAM Lite Stockholm 2023 · on Friday, 2023-05-12· [elixir-and-erlang]
links:none on file
slides:none on file

WhatsApp migrates its mono‑repo Erlang build to Buck2 and open‑sources Erlang rules in Starlark; rules require explicit inputs and favor hermetic, remote‑first execution. Large repo (millions of lines, thousands of files) builds in full repo builds: 2 min cached / 3.5 min uncached versus ~15+ min with rebar3; speed comes from global remote cache and fine‑grained incrementality plus hybrid remote/local execution. Interop lets a project include C/C++ NIFs as NIFs built as C++ targets and run tests, though the test runner is currently basic.

AI-written summary · about

  1. 0:00Intro
  2. 0:47Why we need another build system
  3. 1:35Problems with other build systems
  4. 3:47Large projects
  5. 4:37Buck2 library
  6. 4:54Buck2 evolution
  7. 7:17Faster builds
  8. 9:31Practice
  9. 10:22Rules
  10. 11:43Other Rules
  11. 12:20Language Interoperability
  12. 13:48How well does it work
  13. 15:27Disclaimer
  14. 16:07What you need
  15. 16:45Demo
  16. 19:07Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.