prost VS shared-string

Compare prost vs shared-string and see what are their differences.

prost

PROST! a Protocol Buffers implementation for the Rust Language (by tokio-rs)

shared-string

Split a string without another allocation (by soerenmeier)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
prost shared-string
14 1
3,513 2
4.6% -
8.3 0.0
4 days ago almost 3 years ago
Rust Rust
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.

prost

Posts with mentions or reviews of prost. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-12.

shared-string

Posts with mentions or reviews of shared-string. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-31.
  • Saving Some Allocations
    2 projects | /r/rust | 31 Jan 2021
    A few weeks back i made a crate (shared-string) that more or less does what your describing in your post. But the underlying data structure is, preferably Rc or Arc if you need to use it between threads. I though about using Bytes but if you look at the imlementation it does a lot in the background. But never the less i changed Rc and Arc to Bytes to look how it would performance. When i saw the benchmarks i was discouraged, they weren't great. In my benchmark it was always slower than just using a String. Maybe somewhere i made a mistake or the benchmarks are not the right ones. Here the bytes implementation with some benchmark results: https://github.com/soerenmeier/shared-string/pull/1

What are some alternatives?

When comparing prost and shared-string you can also consider the following projects:

rust-protobuf - Rust implementation of Google protocol buffers

prost - PROST! a Protocol Buffers implementation for the Rust Language

tonic - A native gRPC client & server implementation with async/await support.

cargo-raze - Generate Bazel BUILD from Cargo dependencies!

varint-simd - Decoding and encoding gigabytes of LEB128 variable-length integers per second in Rust with SIMD

ts-proto - An idiomatic protobuf generator for TypeScript

prost - PROST! a Protocol Buffers implementation for the Rust Language

bytes - Utilities for working with bytes

console - a debugger for async rust!

rust-multiplayer-physics - A multiplayer physics playground, written in rust.

linkerd2-proxy-api - A service mesh for Kubernetes and beyond. gRPC API bindings repo for Linkerd 2.x.

bitbox02-firmware - Firmware code of the BitBox02 hardware wallet