Babel

10.7K
6.4K
+ 1
387
Bazel

167
308
+ 1
110
Add tool

Babel vs Bazel: What are the differences?

Developers describe Babel as "Use next generation JavaScript, today". Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support. On the other hand, Bazel is detailed as "Correct, reproducible, fast builds for everyone". Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.

Babel and Bazel are primarily classified as "JavaScript Compilers" and "Java Build" tools respectively.

Some of the features offered by Babel are:

  • Array comprehensions
  • Arrow functions
  • Async functions

On the other hand, Bazel provides the following key features:

  • Multi-language support: Bazel supports Java, Objective-C and C++ out of the box, and can be extended to support arbitrary programming languages.
  • High-level build language: Projects are described in the BUILD language, a concise text format that describes a project as sets of small interconnected libraries, binaries and tests. By contrast, with tools like Make you have to describe individual files and compiler invocations.
  • Multi-platform support: The same tool and the same BUILD files can be used to build software for different architectures, and even different platforms. At Google, we use Bazel to build both server applications running on systems in our data centers and client apps running on mobile phones.

"Modern Javascript works with all browsers" is the top reason why over 160 developers like Babel, while over 18 developers mention "Fast" as the leading cause for choosing Bazel.

Babel and Bazel are both open source tools. Babel with 33.8K GitHub stars and 3.6K forks on GitHub appears to be more popular than Bazel with 12.4K GitHub stars and 2.03K GitHub forks.

According to the StackShare community, Babel has a broader approval, being mentioned in 902 company stacks & 687 developers stacks; compared to Bazel, which is listed in 11 company stacks and 7 developer stacks.

Pros of Babel
Pros of Bazel

Sign up to add or upvote prosMake informed product decisions

Cons of Babel
Cons of Bazel
    No cons available

    Sign up to add or upvote consMake informed product decisions

    What is Babel?

    Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.

    What is Bazel?

    Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
    What companies use Babel?
    What companies use Bazel?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Babel?
    What tools integrate with Bazel?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitJenkinsGroovy+4
    3
    1478
    JavaScriptGitHubNode.js+29
    13
    10481
    JavaScriptGitHubPython+42
    52
    19156
    What are some alternatives to Babel and Bazel?
    Webpack
    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
    TypeScript
    TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
    CoffeeScript
    It adds syntactic sugar inspired by Ruby, Python and Haskell in an effort to enhance JavaScript's brevity and readability. Specific additional features include list comprehension and de-structuring assignment.
    ESLint
    A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
    rollup
    It is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD.
    See all alternatives
    Interest over time
    News about Bazel
    More news