fast-float-asm
Utilities to check AMS generation for fast-float-rust (by Alexhuszagh)
fast-float-rust
Super-fast float parser in Rust (now part of Rust core) (by aldanor)
fast-float-asm | fast-float-rust | |
---|---|---|
1 | 10 | |
0 | 266 | |
- | - | |
1.8 | 0.0 | |
almost 3 years ago | over 1 year ago | |
Rust | Rust | |
- | 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.
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:
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 fast-float-asm and fast-float-rust you can also consider the following projects:
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
rust-lexical - Fast numeric to- and from-string conversion routines.
rand - A Rust library for random number generation.
simdutf8 - SIMD-accelerated UTF-8 validation for Rust.
json - Strongly typed JSON library for Rust
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
roxmltree - Represent an XML document as a read-only tree.
rust - Empowering everyone to build reliable and efficient software.
ttf-parser - A high-level, safe, zero-allocation TrueType font parser.
fast-float-asm vs fast_float
fast-float-rust vs fast_float
fast-float-asm vs rust-lexical
fast-float-rust vs rand
fast-float-asm vs simdutf8
fast-float-rust vs json
fast-float-rust vs rust
fast-float-rust vs rust-lexical
fast-float-rust vs roxmltree
fast-float-rust vs rust
fast-float-rust vs simdutf8
fast-float-rust vs ttf-parser