Broccoli vs Buck2
Broccoli
github.comBuck2
buck2.buildSide by side
| Figure | Broccoli | Buck2 |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Build Automation Software | 7.4 (#27) | 8.1 (#12) |
| Integrations | The README lists broccoli-timepiece, grunt-broccoli, and grunt-broccoli-build for running Broccoli directly or through other tools. | The project says BuildBarn, BuildBuddy, EngFlow, and NativeLink work with its distributed compilation support through the Bazel Remote Execution API. |
| Purpose | Broccoli is a browser compilation library and asset pipeline for applications that run in the browser. | Buck2 is a large-scale, fast, hermetic, multi-language build system and the successor to Buck. |
| Support | The README directs users to GitHub issues for general questions or the relevant plugin repository for plugin questions. | The project directs users to report issues through GitHub and provides a community Discord server. |
Plans
In their own words
Buck2
Buck2 is a free build system from Meta for large-scale repositories that combine multiple programming languages. It uses Starlark rules, a dynamic dependency graph, and incremental actions to support extensible builds. Its language table lists prelude rules for C/C++, Erlang, Go, Haskell, Java, Kotlin, OCaml, Python, and Rust, though usability varies by language. Build actions can run remotely through services exposing Bazel's remote execution API; the project lists BuildBarn, BuildBuddy, EngFlow, and NativeLink as compatible with its distributed compilation support. Buck2 supports filesystem watching and can integrate with Meta's optional Eden virtual filesystem. Rules are hermetic by default and missing dependencies are errors, but local-only build steps are not sandboxed. The project describes Buck2 as early-stage and says it has no stable release tag; its latest binary tag changes with repository pushes. It warns that outside users may encounter rough edges, missing features, and missing toolchains. Source and binaries are available under MIT and Apache-2.0 licenses. The project directs users to GitHub for issue reports and offers a community Discord server.