fast-float-rust
miniz_oxide
fast-float-rust | miniz_oxide | |
---|---|---|
10 | 2 | |
266 | 159 | |
- | - | |
0.0 | 5.6 | |
over 1 year ago | 29 days ago | |
Rust | C | |
Apache License 2.0 | MIT License |
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.
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).
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
What are some alternatives?
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
libdeflate - Heavily optimized library for DEFLATE/zlib/gzip compression and decompression
rand - A Rust library for random number generation.
gearley - An Earley parser engine in Rust.
json - Strongly typed JSON library for Rust
ttf-parser - A high-level, safe, zero-allocation TrueType font parser.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
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-lexical - Fast numeric to- and from-string conversion routines.
yaep - Yet Another Earley Parser
roxmltree - Represent an XML document as a read-only tree.
bitter - Extract bits from a byte slice