Our great sponsors
-
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.
While rust_serialization_benchmark doesn't currently time compression, you see the relative sizes over several datasets and compression algorithms.
bitcode is a new binary serialization format that aims to minimize size while maintaining competitive speed. Since our initial post, we've added a derive macro which unlocks more performance and control than was possible with serde.
I was also under the false impression that bitwise encoding was slow. When I first implemented bitcode with bitvec I got performance 20x worse than bincode. After writing my own implementation I was able to get much better performance.
Related posts
- Announcing August! An Emmet-like language that produces JSON, TOML, or YAML, written in Rust
- An optimized replacement of the infamous std::vector<🅱️ool>
- You need to stop idolizing programming languages.
- bit-twiddling tricks. It's the perfect example of Rust's no-compromises "ergonomics AND speed AND correctness" ideals
- An Armful of CHERIs: Memory Safety in the processor. Do we still need safe languages with CHERI?