rules_proto VS buildtools

Compare rules_proto vs buildtools and see what are their differences.

rules_proto

Bazel build rules for protobuf / gRPC (now with gazelle) (by stackb)

buildtools

A bazel BUILD file formatter and editor (by bazelbuild)
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
rules_proto buildtools
1 1
264 973
1.1% 0.9%
7.3 7.8
21 days ago 6 days ago
Go Go
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_proto

Posts with mentions or reviews of rules_proto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-08.
  • Buf raises $93M to deprecate REST/JSON
    6 projects | news.ycombinator.com | 8 Dec 2021
    `proto_library` for building the `.bin` file from protos works great. Generating stubs/messages for "all" languages does not. Each language does not want to implement gRPC rules, the gRPC team does not want to implement rules for each language. Sort of a deadlock situation. For example:

    - C++: https://github.com/grpc/grpc/blob/master/bazel/cc_grpc_libra...

    - Python: https://github.com/grpc/grpc/blob/master/bazel/python_rules....

    - ObjC: https://github.com/grpc/grpc/blob/master/bazel/objc_grpc_lib...

    - Java: https://github.com/grpc/grpc-java/blob/master/java_grpc_libr...

    - Go (different semantics than all of the other): https://github.com/bazelbuild/rules_go/blob/master/proto/def...

    But there's also no real cohesion within the community. The biggest effort to date has been in https://github.com/stackb/rules_proto which integrates with gazelle.

    tl;dr: Low alignment results in diverging implementations that are complicated to understand for newcomers. Buff's approach is much more appealing as it's a "this is the one way to do the right thing" and having it just work by detecting `proto_library` and doing all of the linting/registry stuff automagically in CI would be fantastic.

buildtools

Posts with mentions or reviews of buildtools. We have used some of these posts to build our list of alternatives and similar projects.

What are some alternatives?

When comparing rules_proto and buildtools you can also consider the following projects:

gRPC - The Java gRPC implementation. HTTP/2 based RPC

bazel-watcher - Tools for building Bazel targets when source files change.

schematic - type-safe JSON spec and validation tool

bazel-remote - A remote cache for Bazel

gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

please - High-performance extensible build system for reproducible multi-language builds.

rules_proto_grpc - Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets

rules_go - Go rules for Bazel

buildbuddy - BuildBuddy is an open source Bazel build event viewer, result store, remote cache, and remote build execution platform.

dbx_build_tools - Dropbox's Bazel rules and tools