scons VS Bazel

Compare scons vs Bazel and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
scons Bazel
9 136
1,947 22,315
0.9% 0.5%
9.3 10.0
7 days ago 6 days ago
Python 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.

scons

Posts with mentions or reviews of scons. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-05.
  • SCons: A Software Construction Tool
    1 project | news.ycombinator.com | 12 Nov 2023
  • Show HN: Jeeves – A Pythonic Alternative to GNU Make
    7 projects | news.ycombinator.com | 5 Nov 2023
    The most comprehensive make alternative in python I've seen is Scons (https://scons.org/)

    It would be worth to see how they tackles some of the challenges you're looking into.

    Blurb from the website:

    SCons is an Open Source software construction tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.

  • Taskfile: A Modern Alternative to Makefile
    9 projects | news.ycombinator.com | 16 Jul 2023
  • What was used to build C++ programs before Cmake?
    5 projects | /r/cpp_questions | 5 Jul 2023
    SCons never got popular enough to escape the niches it grew up in.
  • Python as a build tool
    1 project | /r/programming | 25 May 2023
  • Is it possible to dynamically introduce nodes inside the project
    2 projects | /r/godot | 19 Apr 2023
    i literally do almost this exact thing with the game im working on. situation is: im the programmer, working with an artist who cant code (and im not going to make them edit json on an ipad lmao) so i have a google drive spreadsheet where they put metadata for the items they make. i have a script that uses rclone to copy this down as a csv, along with the image assets. then i wrote a python extension for scons that converts it to json (and also does some image processing/cropping because evidently procreate's export options are very limited). from here, i originally had an import plugin that would automatically import the json files as godot resources. however, i eventually decided to instead write a standalone script in gdscript (invoked with godot --script --headless myscript.gd) that would do the conversion ahead of import, mainly because i wanted to be able to have the game assets be more self-contained (like, so that an item has its texture in the same resource file instead of in a separate file referenced from the json). i then modified my scons build scripts to call this script.
  • How do i get started with GD Extension?
    2 projects | /r/godot | 25 Feb 2023
    it's a build tool, like cmake. https://scons.org/ you have to install it.
  • CMake debugger allows you to debug your CMake scripts and more - C++ Team Blog
    3 projects | /r/cpp | 23 Feb 2023

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 scons and Bazel you can also consider the following projects:

meson - The Meson Build System

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

ninja - a small build system with a focus on speed

nx - Smart Monorepos · Fast CI

CMake - CMake with debugging support. Based on initial @sysprogs fork.

Invoke - Pythonic task management & command execution.

Gradle - Adaptable, fast automation for all

godot-cpp - C++ bindings for the Godot script API

PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:

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]