Articles tagged with bazel

  1. Bazel: Setting max_compatibility_level

    Posted on in programming

    Bazel is a build system that allows you to build software projects quickly and reliably. One of the features of Bazel is the ability to manage dependencies using Bzlmod files. Bzlmod files are used to describe the dependencies of a project and to ensure that the dependencies are compatible with …

  2. What is Bazel's sandbox mode?

    Posted on in programming

    Sandbox mode in Bazel is a security feature that isolates build actions from the host system. This helps to prevent malicious code from being able to access the host system or other build actions.

    In sandbox mode, each build action is executed in a separate directory, called an execroot. The …

  3. Does Bazel Guarantee Hermeticity?

    Posted on in programming

    Bazel does not guarantee hermeticity, but it does provide some features that can help to achieve hermeticity. These features include:

    • Sandboxing: Bazel can sandbox the execution of build actions, which helps to prevent them from accessing the host system.
    • Dependency pinning: Bazel can pin the versions of dependencies that are …
  4. Bazel: Module Extensions and Metadata Objects

    Posted on in programming

    Bazel is a build system that allows you to build software projects quickly and reliably. One of the features of Bazel is the ability to extend the module system by using module extensions. Module extensions allow you to provide additional information about the repositories that your project depends on.

    One …

  5. What are the Benefits of a Bzlmod Lockfile?

    Posted on in programming

    A bzlmod lockfile is a file that specifies the exact versions of all the dependencies of a Bazel project. This can be beneficial for a number of reasons, including:

    • Reproducibility: The lockfile ensures that the same build results can be produced every time the project is built, regardless of the …
  6. Bazel 6.3: A Major Release with New Features and Improvements

    Posted on in programming

    Bazel 6.3 was released on July 28, 2023. It includes a number of new features and improvements, making it a major release for the popular build tool.

    Here are some of the highlights of Bazel 6.3:

    • Bzlmod lockfile support: Bazel now supports a lockfile for Bzlmod, which can …
  7. Benefits of Hermeticity in Software Development

    Posted on in programming

    Hermeticity is a software engineering concept that refers to the ability of a software unit to be isolated from its environment. This means that the unit should not be affected by changes to the environment, and it should not affect the environment in any way.

    There are several benefits to …

  8. Bazel vs Gradle

    Posted on in programming

    Bazel and Gradle are two of the most popular build systems for Java and other languages. They both have their own strengths and weaknesses, and the best choice for you will depend on your specific needs.

    In this article, we will compare and contrast Bazel and Gradle in terms of …

  9. Bazel vs Buck

    Posted on in programming

    Bazel and Buck are two popular build systems used by large software companies. Both systems offer a number of features that make them well-suited for building large, complex codebases, including:

    • Multi-language support: Both Bazel and Buck support a wide range of programming languages, including Java, C++, Python, and Go.
    • High-level …
  10. Hermeticity - So Hot Right Now

    Posted on in programming

    Hermeticity in software builds refers to the practice of creating software packages that are self-contained, with all necessary dependencies and resources included within the package. In other words, a hermetic build can be installed and run on any system, without requiring additional configuration or installations. This practice is becoming increasingly …

My Bookshelf

Reading Now

Other Stuff