speedy VS postcard

Compare speedy vs postcard and see what are their differences.

speedy

A fast binary serialization framework (by koute)

postcard

A no_std + serde compatible message library for Rust (by jamesmunns)
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
speedy postcard
1 7
331 726
- -
5.9 5.9
3 months ago 4 days 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.

speedy

Posts with mentions or reviews of speedy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-12.
  • Are there any serialization crates that do Varint encoding without Zigzag encoding?
    8 projects | /r/rust | 12 Jan 2023
    I would look at speedy which is, as the name suggests, pretty fast. It encodes varints in a way that's different from LEB128, and is much quicker to both encode and decode. The format they use is at the top of this file -- you can do it just with a couple of shifts and masks, and decoding is similarly fast. Speedy also hard-branches in the code with a switch statement based on how many bytes you need, which in my tests is something like 2x faster than the alternative, despite it being a branch (it's just turns into a lookup table in assembly).

postcard

Posts with mentions or reviews of postcard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-27.

What are some alternatives?

When comparing speedy and postcard you can also consider the following projects:

scale-info - Info about SCALE encodable Rust types

tinycbor - Concise Binary Object Representation (CBOR) Library

ssh_format - Data format used to communicate with openssh mux server.

karmem - Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.

serde - Serialization framework for Rust

ractor - Rust actor framework

pguint - unsigned integer types extension for PostgreSQL

json-maker - C library used to code JSON objects in null-terminated strings

parity-scale-codec - Lightweight, efficient, binary serialization and deserialization codec

tiny-json - The tiny-json is a versatile and easy to use json parser in C suitable for embedded systems. It is fast, robust and portable.

cJSON - Ultralightweight JSON parser in ANSI C

xml-rs - An XML library in Rust