Skip to content
SPECIFICTION
Get listed

distcc vs Ninja

distcc

distcc.org

Ninja

ninja-build.org

Side by side

FiguredistccNinja
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYes—
Plans published11
Spec score · Build Automation Software8.2 (#10)8.1 (#13)
Build behaviorThe site says distcc should produce the same results as a local build and is usually faster than compiling locally.Builds run in parallel by default, using the number of CPUs on the system.
How it worksdistcc sends preprocessed source code over the network and uses a distccd daemon and an appropriate compiler on each volunteer machine.Ninja takes file interdependencies as input and runs the commands needed to build targets.
Platform supportThe home page says distcc is developed on GNU/Linux and has been reported to work on FreeBSD, NetBSD, Darwin, Solaris, HP-UX, IRIX, Cygwin and BSD/OS.The manual says Ninja works on Unix-like systems and Windows, and runs on Mac OS X and FreeBSD; it has seen the most testing on Linux.
Purposedistcc distributes builds of C, C++, Objective C and Objective C++ code across multiple networked machines.Ninja is a small build system designed to evaluate incremental builds quickly.
SupportThe FAQ directs unanswered questions to the mailing list archives or the distcc mailing list.The project site links to a mailing list and lists the #ninja-build IRC channel on irc.oftc.net.
Use casesThe scenarios page describes use by developer workgroups, laptop users who offload builds to a faster home machine, and developers working on embedded or small computers.The site says Ninja is used to build Google Chrome, parts of Android, and LLVM.

Plans

distcc

  • distccFree

distcc pricing →

Ninja

  • NinjaFree

Ninja pricing →

In their own words

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.

Visit distcc.org

Ninja

Ninja has no write-up on Specifiction yet; its figures are above.

Visit ninja-build.org