miniz_oxide
fast-float-rust
Our great sponsors
miniz_oxide | fast-float-rust | |
---|---|---|
2 | 10 | |
159 | 266 | |
- | - | |
5.7 | 0.0 | |
21 days ago | over 1 year ago | |
C | Rust | |
MIT License | Apache License 2.0 |
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.
miniz_oxide
-
bitter v0.6 - the performant bit reading library with a new faster API
There's quite a bit of unsafe (ick) and there's even an unsafe API that allow one to shoot themselves in the foot (more ick). I'm cautiously optimistic that the performance demonstrated by miniz_oxide (a project with lots of bit reading and zero unsafe) could mean a reduction of unsafe in bitter without sacrificing performance.
-
Good example of high performance Rust project without unsafe code?
miniz_oxide is slightly faster than zlib
fast-float-rust
-
Good example of high performance Rust project without unsafe code?
I'd like the mention my own refactoring of fast-float-rust to remove nearly all unsafe code for merging into Rust core library which left the performance identical to the previous implementation.
- Exploring Rust performance on Graviton2 (AWS aarch64 CPUs)
-
Making Rust Float Parsing Fast: libcore Edition
JSON is an interesting example, since the syntax of valid floats is slightly different than what Rust expects. Luckily, I'm the author of a minimal, and am also the author of a PR to bring this to fast-float-rust.
-
Eisel-Lemire Algorithm
[4] https://github.com/aldanor/fast-float-rust/
-
Number Parsing at a Gigabyte per Second
It seems also dependent on the processor: https://github.com/aldanor/fast-float-rust/#intel-i7-4771
-
fast-float - a super-fast float parser in Rust
I've already done that (just pushed it - here).
What are some alternatives?
libdeflate - Heavily optimized library for DEFLATE/zlib/gzip compression and decompression
fast_float - Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12 and WebKit/Safari
gearley - An Earley parser engine in Rust.
rand - A Rust library for random number generation.
ttf-parser - A high-level, safe, zero-allocation TrueType font parser.
json - Strongly typed JSON library for Rust
cv - Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
yaep - Yet Another Earley Parser
rust-lexical - Fast numeric to- and from-string conversion routines.
bitter - Extract bits from a byte slice
roxmltree - Represent an XML document as a read-only tree.