rust-lexical
Fast numeric to- and from-string conversion routines. (by Alexhuszagh)
fast-float-rust
Super-fast float parser in Rust (now part of Rust core) (by aldanor)
Our great sponsors
rust-lexical | fast-float-rust | |
---|---|---|
2 | 10 | |
279 | 266 | |
- | - | |
0.0 | 0.0 | |
about 2 months ago | over 1 year ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
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.
rust-lexical
Posts with mentions or reviews of rust-lexical.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-17.
- Lexical release 0.8 (fast numerical parsing / formatting)
-
Making Rust Float Parsing Fast: libcore Edition
If you're interested, I've basically compiled a list of all the different float formats from over 50 programming and data interchange formats.
fast-float-rust
Posts with mentions or reviews of fast-float-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-02.
-
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?
When comparing rust-lexical and fast-float-rust you can also consider the following projects:
tiny-utf8 - Unicode (UTF-8) capable std::string
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