Hacker GitHub

← All repos

bazelbuild/bazel

View on GitHub ↗ ★ 26,029 Java

a fast, scalable, multi-language and extensible build system

93 mentions on Hacker News by 77 people: 11 stories, 82 comments · first 2015-03-24 · latest 2026-01-21

Mentions per year 93 mentions · busiest year 2019 (13)
20082026
  1. ▲ 1
    Bazel 9.0.0 Release
    story by agluszak · 2026-01-21 · 0 comments
  2. Somehow this keeps happening https://github.com/bazelbuild/bazel/issues/15515
  3. ▲ 8
    Bazel Central Registry SSL certificate expired, breaking Bzlmod builds
    story by asceticat · 2025-12-26 · 1 comment
  4. …hasn't been extracted into a standalone library with a stable API, so only Bazel can really use it. https://github.com/bazelbuild/bazel/tree/master/src/main/jav...
    comment by ameliaquining · 2025-10-14 · in RustPython: A Python Interpreter Written in Rust
  5. …move into a WebAssembly blob. https://github.com/jmillikin/upstream__bazel/commits/repo-ru... https://github.com/bazelbuild/bazel/discussions/23487
    comment by jmillikin · 2025-02-25 · in Chicory: A JVM native WebAssembly runtime
  6. …does not (by default) attempt to make build products the same for different host C++ compilers. [1] https://github.com/bazelbuild/bazel/discussions/18332 [2] https://bazel.build/reference/command-line-reference#flag--e...
    comment by paulddraper · 2025-02-13 · in Is NixOS truly reproducible?
  7. …limiting side effects to get reproducible config data. By default they discourage reading files: https://github.com/bazelbuild/bazel/issues/13300 But rhai is not particularly oriented toward config, and the doc promotes an extension to…
    comment by BiteCode_dev · 2025-01-20 · in Rhai: An embedded scripting language for Rust
  8. …the same compute footprint whether run alone during development or 96x parallel on a CI worker ( https://github.com/bazelbuild/bazel/pull/21322 ). Otherwise it's common for tests to pass when run during manual development then timeout or…
    comment by lihaoyi · 2024-12-09 · in Bazel 8.0
  9. ▲ 137
    Bazel 8.0
    story by oftenwrong · 2024-12-09 · 46 comments
  10. …doesn’t make guarantees around max allocated but unused heap space. You need something like this: https://github.com/bazelbuild/bazel/blob/10060cd638027975480... - but I have rarely seen something like that in production.
    comment by NightMKoder · 2024-09-10 · in Debugging a memory leak in a Clojure service
  11. …of computer science and has been pushed out to future releases for 6 years and still going: https://github.com/bazelbuild/bazel/issues/5139
  12. …perspective. Indeed, you can verify it'll fail the recursion prevention code in Starlark [1] [1] https://github.com/bazelbuild/bazel/blob/e1a73e6e89a082e3d80...
    comment by vlovich123 · 2024-06-06 · in An Overview of the Starlark Language
  13. Luckily a feature to limit the disk cache size is in development: https://github.com/bazelbuild/bazel/issues/5139
  14. …Google implementations: https://github.com/google/starlark-go/ https://github.com/bazelbuild/bazel/tree/master/src/main/jav... Rust Google implementation taken over by Meta: https://github.com/facebookexperimental/starlar
  15. ▲ 2
    Bazel 7.0 LTS
    story by jmmv · 2023-12-11 · 0 comments
  16. …be interesting to see how much Microsoft's moves to repeatable builds in more recent times (e.g. https://github.com/bazelbuild/bazel/issues/9466#issuecomment... ) will do away with this idea of embedding the Microsoft C/C++ compiler…
  17. …to be going in is shortening the wall clock time by allowing for concurrent analysis and execution: https://github.com/bazelbuild/bazel/issues/14057 .
    comment by flurie · 2023-04-07 · in Buck2: Our open source build system
  18. …ps://github.com/facebook/buck/pulls?q=is%3Apr+sort%3Acrea... ). The first to Bazel was Sep 30, 2014 ( https://github.com/bazelbuild/bazel/pulls?q=is%3Apr+sort%3Ac... ).
    comment by 0xcafefood · 2023-04-06 · in Buck2: Our open source build system
  19. …[2] https://github.com/ulfjack/bazel/commit/e9f21bbf562c1f6006eb... [3] https://github.com/bazelbuild/bazel/issues/8178#issuecomment...
    comment by sam_bristow · 2023-03-24 · in Scaling Rust Builds with Bazel
  20. From their open issues and ugly hacks needed to build anything else... https://github.com/bazelbuild/bazel/issues/1920 https://stackoverflow.com/questions/32845940/symbols-from-st...
    comment by saidinesh5 · 2023-03-24 · in Scaling Rust Builds with Bazel
  21. …the fixes for those very basic use cases take for ever. Eg. This 7 year old issue is still open: https://github.com/bazelbuild/bazel/issues/1920 . To be able to create a statically linked library, we had to use:…
    comment by saidinesh5 · 2023-03-24 · in Scaling Rust Builds with Bazel
  22. FWIW Bazel now ships linux (and Mac and Windows) arm64 binaries: https://github.com/bazelbuild/bazel/releases/download/6.1.1/... Definitely a ton of rough edges on Bazel but the passage of time is rounding them, even if progress uneven and…
    comment by Game_Ender · 2023-03-24 · in Scaling Rust Builds with Bazel
  23. Well now they know why it's so important. https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5eb...
    comment by jart · 2023-01-30 · in Git archive checksums may change
  24. …or specify what constituents a build hash/key. See this issue from 2018 that's still open [1]. [1] https://github.com/bazelbuild/bazel/issues/4558
    comment by en4bz · 2022-12-19 · in What's New in Bazel 6.0
  25. ▲ 2
    Bazel 6.0.0
    story by LINKIWI · 2022-12-19 · 0 comments
  26. 1. Install numpy (pip3 install numpy) 2. Download a bazel binary ( https://github.com/bazelbuild/bazel/releases or use package manager) 3. bazel build -c opt :encoder_main 4. bazel-bin/encoder_main --input_path=testdata/sample1_16kHz.wav…
  27. …I just went to see how things are and it seems that things have not changed much in years, e.g.: https://github.com/bazelbuild/bazel/issues/14639 This is kind of project that you won't probably need soon, unless you are really being paid…
    comment by edumucelli · 2022-09-14 · in When to use Bazel?
  28. You'll get "redacted" https://github.com/bazelbuild/bazel/blob/34ce6a23f5a2be58bb5...
    comment by jvolkman · 2022-09-13 · in When to use Bazel?
  29. …not all that different [4]. [0] https://bazel.build/docs/sandboxing#sandboxing-strategies [1] https://github.com/bazelbuild/bazel/issues/5136#issuecomment... [2] https://github.com/microsoft/BuildXL/blob/master/Documentati... [3]…
    comment by colatkinson · 2022-08-07 · in Using Landlock to Sandbox GNU Make
  30. …Google used to pay me to write the coolest features in Bazel like its system for downloading files. https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5eb... But I stopped supporting Bazel because they kept breaking git bisect…
    comment by jart · 2022-08-05 · in Keeping a project bisectable
  31. …and encounter problems when the policy changes. Some examples I've run into with Bazel: https://github.com/bazelbuild/bazel/issues/10068 https://github.com/bazelbuild/bazel/issues/13766
  32. That is what they do, click through the link in the article: https://github.com/bazelbuild/bazel/issues/7962#issuecomment...
    comment by esprehn · 2022-06-26 · in We Halved Go Monorepo CI Build Time
  33. …enough time to write a PyInstaller rule. [0]: https://github.com/justbuchanan/bazel_rules_qt [1]: https://github.com/bazelbuild/bazel/issues/1920
    comment by lolpython · 2022-06-23 · in Incremental Builds for Haskell with Bazel
  34. …bazel nowadays supports end-to-end compression w/ `--experimental_remote_cache_compression`: https://github.com/bazelbuild/bazel/pull/14041
  35. I wrote Bazel's system for downloading files. https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5eb... So I'm sympathetic to your point of view. However some of us feel like people should stop reinventing Make and instead make Make…
  36. I used to do a lot of work on Bazel. I wrote its downloader code for example. https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5eb... Bazel is nice, but these days I'm running a small scrappy operation, so I just use GNU Make.…
    comment by jart · 2021-12-21 · in Show HN: Lisp with GC in 436 Bytes
  37. ▲ 15
    Why Bazel is written in Java
    story by robfig · 2021-12-14 · 0 comments
  38. …coolest features, like its downloader, which reduced TensorFlow build flakes down from 10% to 0%. https://github.com/bazelbuild/bazel/commit/92887a08a55be96ec... The Cosmopolitan Makefile already has Blaze-like tooling. For example, it…
    comment by jart · 2021-05-17 · in Cosmopolitan Libc 1.0
  39. One thing that's super annoying about this is Google's own build tool Bazel can't create app bundles: https://github.com/bazelbuild/bazel/issues/11497 I wonder if internally they either have this ability or this constraint is only required…
  40. …(a unit testing lib/harness/framework/thing) [1] I have no idea how this all works in practice. [0] https://github.com/bazelbuild/bazel/blob/master/site/docs/ru... [1] https://github.com/bazelbuild/rules_scala/blob/master/exampl...
  41. …projects written in the Java language, not for Java ecosystem. See why it is critical here - https://github.com/bazelbuild/bazel/wiki/Bazel-Users
    comment by abharya · 2020-12-11 · in Finding Critical Open Source Projects
  42. All the official Bazel .deb files since Bazel 1.0 have been around 42MB See https://github.com/bazelbuild/bazel/releases/tag/3.7.0 for the latest release Most open-sourced Google projects use Bazel now. Of course, projects like Android and…
    comment by laurentlb · 2020-10-29 · in Bazel Build System Support for LLVM
  43. …[2] https://android.googlesource.com/platform/build/soong/+/e441... [3] https://github.com/bazelbuild/bazel/releases/tag/0.1.0
    comment by q3k · 2020-10-29 · in Bazel Build System Support for LLVM
  44. Bazel has plenty of its own correctness problems. Like https://github.com/bazelbuild/bazel/issues/3360 . It used to be the case that file hashing wasn't coordinated well with a concurrently edited file, so changing source while building…
    comment by paulddraper · 2020-09-29 · in Mtime Comparison Considered Harmful (2018)
  45. …Guix devs did for Rust[2]. [0] https://guix.gnu.org/blog/2020/guix-further-reduces-bootstra... [1] https://github.com/bazelbuild/bazel/releases/tag/3.5.0 [2] https://guix.gnu.org/blog/2018/bootstrapping-rust/
  46. …has problems because it represents paths as strings and tries to use the libc locale for decoding. https://github.com/bazelbuild/bazel/pull/10111 is an example of how this breaks software in ways that are difficult to work around.
    comment by jmillikin · 2020-08-07 · in First Impressions of Rust
  47. …the Go modules fetched by the Go sumdb. Thus, the correct instructions are: $ (echo -n $(getsum https://github.com/bazelbuild/bazel/releases/download/3.4.1/bazel-3.4.1-installer-linux-x86_64.sh); echo "…
    comment by ithkuil · 2020-07-27 · in Signing .jars is not worth the effort
  48. …url->fingerprint mappings of arbitrary urls: https://github.com/mkmik/getsum Example: $ getsum https://github.com/bazelbuild/bazel/releases/download/3.4.1/bazel-3.4.1-installer-linux-x86_64.sh 9808adad931ac652e8ff5022a74507c532250c2091d21d6…
    comment by ithkuil · 2020-07-27 · in Signing .jars is not worth the effort
  49. …I do not understand how this issue exists when Blaze has been used in Google for such a long itme): https://github.com/bazelbuild/bazel/issues/9419 One of the more fundamental bugs is this one: https://github.com/bazelbuild/bazel/issues/455…
    comment by mehrdadn · 2020-05-20 · in What Is Nix?
  50. …For example see https://github.com/grailbio/bazel-toolchain which sets up LLVM and Clang for you. https://github.com/bazelbuild/bazel/issues/4558
    comment by kornholi · 2020-05-14 · in Building Uber’s Go Monorepo with Bazel