# Bazel

79 Hacker News commenters recommended Bazel and 41 criticized it, November 2025 to November 2026. It was recommended in 12 of 13 months; owners who said how long report a median of 3 years (3 owners).

**Verdict:** Fast, hermetic, language-agnostic builds with strong caching, used at many large companies. Common caveat: steep learning curve and heavy setup overhead for smaller teams.

## Why people recommend it

- Hermetic, offline-capable builds (3 comments): "a very standard build system used at many large tech companies. It splits fetches from build/test actions and allows blocking network for build/test actions with a single CLI flag." ([source](https://news.ycombinator.com/item?id=46758030)) "Bazel will absolutely build stuff fully offline if you add the one step of running bazel sync //... in between cloning the repo and yanking the cable" ([source](https://news.ycombinator.com/item?id=46436004)) "With input addressing and hermetic builds, Nix and Bazel are systems that don't make you make that choice." ([source](https://news.ycombinator.com/item?id=49218949))
- Strong caching and remote build farms (6 comments): "If you're not running an elite `bazel` or `buck2` RBE with `nativelink`? You're not even playing." ([source](https://news.ycombinator.com/item?id=48981913)) "Done right, not only are your test results cached, but CI's test results can be cached too." ([source](https://news.ycombinator.com/item?id=48127414)) "Bazel like build system which can cache test executions so others don't need to rerun them" ([source](https://news.ycombinator.com/item?id=49867612))
- Language-agnostic, scales to large codebases (4 comments): "Bazel, the default pick for very large codebases, also has support for C++20 modules." ([source](https://news.ycombinator.com/item?id=47566759)) "it's among the very few options that try to solve the hard problems of build systems" ([source](https://news.ycombinator.com/item?id=46044565)) "Bazel is a largely language agnostic build system, with amazing build farm support." ([source](https://news.ycombinator.com/item?id=46183263))
- Explicit dependencies, queryable builds (2 comments): "I would recommend learning the various "bazel query" variants starting with a plain "bazel query"" ([source](https://news.ycombinator.com/item?id=48127095)) "Since all dependencies are explicit you can pretty easily do a bazel (r)deps query" ([source](https://news.ycombinator.com/item?id=47989313))

## What people warn about

- Steep learning curve, complex internals (2 comments): "I'm comfortable with its well-designed surface but whenever I've tried to understand the inner machinery I've given up" ([source](https://news.ycombinator.com/item?id=48127654)) "At some point I decided the complexity and overhead of building on top of bazel was more trouble than it was worth" ([source](https://news.ycombinator.com/item?id=47572921))
- Needs dedicated team to adopt (3 comments): "a lot of them involve either not getting full buy in from the developer team or not investing in building out Bazel correctly" ([source](https://news.ycombinator.com/item?id=46261817)) "Is the reason that it works for big tech that those can spare dozens of engineers to make it work?" ([source](https://news.ycombinator.com/item?id=46383249)) "gets adopted by companies with developer support teams but feels frustrating for us ordinary folk" ([source](https://news.ycombinator.com/item?id=49218531))
- Poor, outdated documentation (2 comments): "The documentation had so many holes and what was there was either out of date or wildly inaccurate." ([source](https://news.ycombinator.com/item?id=46051404)) "Doesn't matter that the documentation sucks and it's unbelievable bloat for smaller companies" ([source](https://news.ycombinator.com/item?id=46492031))
- Works better at Google than outside (2 comments): "Google internally love to stick Bazel on everything and that's quite different (and overly complicated)" ([source](https://news.ycombinator.com/item?id=47806036)) "although I heard everyone say they worked so much better inside Google than outside it, had issues" ([source](https://news.ycombinator.com/item?id=49194070))

## Alternatives hackers recommend

- [GNU Make](https://hackerapproved.com/p/gnu-make.md): 76 recommend
- [CMake](https://hackerapproved.com/p/cmake.md): 58 recommend
- [Apache Maven](https://hackerapproved.com/p/maven.md): 44 recommend
- [Ninja build system](https://hackerapproved.com/p/ninja.md): 37 recommend
- [Gradle](https://hackerapproved.com/p/gradle.md): 26 recommend

## Cite as

Hacker Approved, "Bazel", https://hackerapproved.com/p/bazel/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
