rules_cc VS rules_scala

Compare rules_cc vs rules_scala and see what are their differences.

WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
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
rules_cc rules_scala
2 2
161 350
1.9% 1.1%
5.9 8.1
5 days ago 6 days ago
Starlark Starlark
Apache License 2.0 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.

rules_cc

Posts with mentions or reviews of rules_cc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-19.
  • What's New in Bazel 6.0
    4 projects | news.ycombinator.com | 19 Dec 2022
    Not that I'd recommend it, but if you symlink your system library into the bazel build area, as long as your sandboxing setup don't hose you (or you just turn it off), bazel will track system tools/library in the same way as everything else.

    Bazel's rules_cc even has a system_library.bzl you can import a `system_library` from that automates this for you. https://github.com/bazelbuild/rules_cc/blob/main/cc/system_l...

    I'd still recommend building everything from scratch (and understanding the relationships and graph of your dependencies), but if your build isn't that complicated and you want to role the dice on UB, this isn't that hard.

    As an aside, the most galling part of bazel's cache key calculations has to be that it's up to the individual rules to implement this how they see fit. The rules native to bazel written in java vary wildly compared to starlark-written rules. On thing you (or someone in your org) end up becoming pretty comfortable with while using bazel in anger is RTFC.

  • [Windows] Resource .rc file compilation?
    2 projects | /r/bazel | 16 Sep 2022
    I found several associated issues and a closed PR that supposedly solved this issue. However, it seems that cc_rules has undergone several changes and this PR likely wouldn't function.

rules_scala

Posts with mentions or reviews of rules_scala. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-06.
  • Exodus: Easily migrate your JVM code from Maven to Bazel
    6 projects | news.ycombinator.com | 6 Apr 2021
    It has support for many languages (called rules [0]) and it has support for many tools for that specific language ecosystem.

    For example the Scala rules have specs2 (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...

  • Scala 3 with Bazel
    2 projects | /r/scala | 24 Mar 2021
    Is there some working examples or guidance on how to get https://github.com/bazelbuild/rules_scala

What are some alternatives?

When comparing rules_cc and rules_scala you can also consider the following projects:

rules_nodejs - NodeJS toolchain for Bazel.

rules_graalvm - Build GraalVM native binaries with Bazel

bazel_static_dynamic_c_demo - Internet Points

bazel-remote - A remote cache for Bazel

rules_docker - Rules for building and handling Docker images with Bazel

awesome-bazel - A curated list of Bazel rules, tooling and resources.

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

rules_scala - Robust and featureful Bazel rules for Scala