Bazel Is Not for You
Bazel is a powerful build system designed for massive monorepos at Google scale, but most teams and projects don't actually need it. The article argues that Bazel's steep learning curve, complex configuration, and high overhead are not justified for smaller codebases, where simpler tools like Make, CMake, or language-native build systems are more practical. Before adopting Bazel, teams should honestly assess whether their project size and complexity genuinely warrant such a heavyweight solution.
背景メモ
BazelはGoogleが社内ビルドツールとして開発し、オープンソース化したビルドシステム。大規模モノレポ(単一リポジトリ)での高速・再現性あるビルドを目的とするが、学習曲線が急で設定ファイル(BUILD, WORKSPACE)の記述量が多く、小〜中規模プロジェクトではオーバーキルになりがち。本記事は「BazelはGoogleのような超巨大組織向けであり、多くの開発者にとってはMake, CMake, Gradle, あるいはCargoやnpm scriptsなどのよりシンプルなツールで十分」と主張する。Bazelコミュニティ内でも「導入コストに見合わない」という批判は根強く、同様の論点はBuckやPantsなど他社のビルドシステムにも共通する。