Compiling Clojure in Parallel using Bazel
summary
Bazel plus rules_clojure compiles Clojure in parallel by making each namespace a separate jar, running a persistent Clojure worker, and replacing require/resolve with a non-transitive compile that detects jar/class conflicts and isolates classloaders. Griffin reports reduced uberjar times from minutes to seconds and a 400k-line codebase with 2,000 test namespaces that goes from 38 hours single-core to 4 minutes best-case under Bazel with test caching and remote execution.
AI-written summary · about
