rust-lexical
Fast numeric to- and from-string conversion routines. (by Alexhuszagh)
fast-float-asm
Utilities to check AMS generation for fast-float-rust (by Alexhuszagh)
rust-lexical | fast-float-asm | |
---|---|---|
2 | 1 | |
280 | 0 | |
- | - | |
0.0 | 1.8 | |
9 days ago | almost 3 years ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | - |
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-asm
Posts with mentions or reviews of fast-float-asm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-17.
-
Making Rust Float Parsing Fast: libcore Edition
So, what about safety? fast-float-rust uses unsafe code fairly liberally, so how do the merged changes fix that? Well, all unsafe code except when needed was removed, and it was shown to have no impact on performance or even assembly generation. In fact, the generated assembly is slightly better in some cases. Every call to an unsafe function can be trivially shown to be correct, and all but 1 call has the following format:
What are some alternatives?
When comparing rust-lexical and fast-float-asm you can also consider the following projects:
tiny-utf8 - Unicode (UTF-8) capable std::string
fast-float-rust - Super-fast float parser in Rust (now part of Rust core)
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
simdutf8 - SIMD-accelerated UTF-8 validation for Rust.
approx - Approximate floating point equality comparisons and assertions
serde - Serialization framework for Rust