Buck2 vs distcc
Buck2
buck2.builddistcc
distcc.orgSide by side
| Figure | Buck2 | distcc |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Build Automation Software | 8.1 (#12) | 8.2 (#10) |
| Purpose | Buck2 is a large-scale, fast, hermetic, multi-language build system and the successor to Buck. | distcc distributes builds of C, C++, Objective C and Objective C++ code across multiple networked machines. |
| Support | The project directs users to report issues through GitHub and provides a community Discord server. | The FAQ directs unanswered questions to the mailing list archives or the distcc mailing list. |
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.
distcc
distcc is free software that distributes C, C++, Objective C, and Objective C++ builds across networked machines. It sends preprocessed source code to machines running the distccd daemon and a suitable compiler. The project says distributed builds should match local results and are usually faster than compiling locally. distcc works with GNU Make, SCons, and other parallel build tools. Machines with different processors or operating systems can participate when suitable cross-compilers are installed. GCC is fully supported; Intel icc is somewhat compatible, and the FAQ reports Sun’s proprietary compiler working in C mode. The project is developed on GNU/Linux and reports use on several Unix-like systems, Cygwin, and BSD/OS; listed platforms include Linux, macOS, self-hosted use, and Windows. TCP transmissions are neither encrypted nor signed, while SSH connections are authenticated and encrypted. The FAQ says distcc does not automatically find the best work distribution. Related tools cover server selection, control, cross-compilation, and monitoring.