infer VS Bazel

Compare infer vs Bazel and see what are their differences.

Bazel

a fast, scalable, multi-language and extensible build system (by bazelbuild)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
infer Bazel
42 136
14,693 22,295
0.5% 1.1%
9.9 10.0
7 days ago 6 days ago
OCaml Java
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

infer

Posts with mentions or reviews of infer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.
  • An Introduction to Temporal Logic (With Applications to Concurrency Problems)
    4 projects | news.ycombinator.com | 22 Jan 2024
    I think most development occurs on problems that can't be formally modeled anyway. Most developers work on things like, "can you add this feature to the e-commerce site? And can the pop-up be blue?" which isn't really model-able.

    But that's not to say that formal methods are useless! We can still prove some interesting aspects of programs -- for example, that every lock that gets acquired later gets released. I think tools like Infer[0] could become common in the coming years.

    [0]: https://fbinfer.com/

  • Should I Rust or should I Go
    7 projects | news.ycombinator.com | 15 Sep 2023
  • Enforcing Memory Safety?
    3 projects | /r/cpp | 7 Jun 2023
    Using infer, someone else exploited null-dereference checks to introduce simple affine types in C++. Cppcheck also checks for null-dereferences. Unfortunately, that approach means that borrow-counting references have a larger sizeof than non-borrow counting references, so optimizing the count away potentially changes the semantics of a program which introduces a whole new way of writing subtly wrong code.
  • Interesting ocaml mention in buck2 by fb
    5 projects | /r/ocaml | 9 Apr 2023
    Meta/Facebook are long time OCaml users, their logo is on the OCaml website. Their static analysis tool and its predecessor are both written in OCaml.
  • CISA Director Easterly's comments about cyber security. Agree or disagree?
    1 project | /r/cybersecurity | 1 Mar 2023
    Then this idea that the US government will tell tech companies how to write secure software. Let's get this straight, the private sector, especially big tech is miles ahead of US government in this regard. Microsoft literally invented threat modelling and modern exploit mitigations. Facebook has the best appsec processes pretty much in the whole world, including their own cutting edge code analyzer. AWS uses formal verification everywhere. Meanwhile the US government itself runs mission-critical systems that's almost literally held together by bubble gum and toothpicks. Maybe they could dial down the arrogance a tad, get their own shit together, learn how this cyber stuff is actually done and only then try lecturing everyone else.
  • A plan for cybersecurity and grid safety
    6 projects | dev.to | 10 Feb 2023
    Efforts: Dependabot, CodeQL, Coverity, facebook's Infer tool, etc
  • A quick look at free C++ static analysis tools
    3 projects | /r/cpp | 4 Jan 2023
    I notice there isn't fbinfer. It's pretty cool, and is used for this library.
  • silly guy
    1 project | /r/ProgrammerHumor | 25 Dec 2022
    "Move fast, break stuff" is a great approach when you aren't pushing the broken bits to production. Fuck, even Facebook, the big "move fast, break stuff" company, uses tools to detect errors in its continuous integration toolchain. https://fbinfer.com/
  • OCaml 5.0 Multicore is out
    19 projects | news.ycombinator.com | 16 Dec 2022
  • Beyond Functional Programming: The Verse Programming Language (Epic Games' new language with Simon Peyton Jones)
    5 projects | /r/programming | 12 Dec 2022
    TBH, there's a non-zero amount of non-"ivory tower" tools you may have used that are written in functional languages. Say, Pandoc or Shellcheck are written in Haskell; Infer and Flow are written in OCaml. RabbitMQ and Whatsapp are implemented in Erlang (FB Messenger was too, originally; they switched to the C++ servers later). Twitter backend is (or was, at least) written in Scala.

Bazel

Posts with mentions or reviews of Bazel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-18.
  • Hello World
    2 projects | news.ycombinator.com | 18 Apr 2024
    Wow, if you curl it, there's a lot of boilerplate code there.

    Maybe built using Bazel?

    https://bazel.build

  • Things I learned while building projects with NX
    5 projects | dev.to | 18 Mar 2024
    Bazel by Google
  • Show HN: Flox 1.0 – Open-source dev env as code with Nix
    17 projects | news.ycombinator.com | 13 Mar 2024
    Luckily a feature to limit the disk cache size is in development: https://github.com/bazelbuild/bazel/issues/5139
  • How to write unit tests in C++ relying on non-code files?
    3 projects | news.ycombinator.com | 22 Feb 2024
    This is a problem that Bazel (https://bazel.build) solves in a very convenient way. You can just keep using the paths relative to the repository root, and as long as you properly declare your test needs that file it will access it without problems. Or you can use the runfile libraries to access them too.
  • blade-build VS Bazel - a user suggested alternative
    2 projects | 28 Jan 2024
  • Bazel 7.0 LTS
    1 project | news.ycombinator.com | 11 Dec 2023
  • My first Software Release using GitHub Release
    6 projects | dev.to | 24 Nov 2023
    When doing research for this lab exercise I looked at both vcpkg and conan. Both are package managers that would automate the installation and configuration of my program with its dependencies. However, when it came to releasing and sharing my program my options were limited. For example, the central public registry for conan packages is conan-center, but these packages are curated and the process is very involved. There was no way conan-center would accept a class project like mine. Alternatively, I could host a conan package on a public Artifactory repository, but accessing the package requires users to add the repository to their conan remote. This already sounded like too many steps to expect regular users to follow - I already haven't setup any conan remotes, there's no way I could expect regular users to know about conan remotes, let alone have conan installed on their system. After discussing with people online and consulting my instructor, I ultimately decided to do a GitHub release. However, in the future I was encouraged to look into using CMake or bazel.
  • Declarative Gradle is a cool thing I am afraid of: Maven strikes back
    3 projects | dev.to | 11 Nov 2023
    NOTE: I won’t mention SBT and Leiningen here because, with all due respect, they are niche build tools. I also won’t discuss Kobalt for the same reason (besides, it’s no longer actively maintained). Additionally, I won’t touch upon Bazel and Buck in this context, mainly because I’m not very familiar with them. If you have insights or comments about these tools, please feel free to share them in the comments 👇
  • Bazel
    1 project | news.ycombinator.com | 2 Oct 2023
  • A Modern C Development Environment
    7 projects | news.ycombinator.com | 10 Aug 2023
    > None of this solves C's only REAL problem (in my opinion) which is the lack of dependency management.

    Bazel solves this really nicely, I know some people have strong opinions on it but I cannot recommend it enough

    https://bazel.build/

What are some alternatives?

When comparing infer and Bazel you can also consider the following projects:

SonarQube - Continuous Inspection

Buck - A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.

Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

nx - Smart Monorepos · Fast CI

Error Prone - Catch common Java mistakes as compile-time errors

meson - The Meson Build System

FindBugs - The new home of the FindBugs project

Gradle - Adaptable, fast automation for all

PMD - An extensible multilanguage static code analyzer.

ninja - a small build system with a focus on speed

Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]