{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifpoj23oxqec6efmbwgdhqaycf2wcqkcir6qscbs76zebcawqjhwi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mhpkwzcm3ep2"
},
"path": "/t/idea-adding-zmij-for-faster-float-to-string-parsing/24106#post_1",
"publishedAt": "2026-03-22T15:00:04.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"vitaut/zmij: A double-to-string conversion algorithm based on Schubfach and yy in C and C++",
"dtolnay/zmij: Fast floating point to string conversion in pure Rust",
"performance",
"compile time"
],
"textContent": "From these two sites: vitaut/zmij: A double-to-string conversion algorithm based on Schubfach and yy in C and C++ and dtolnay/zmij: Fast floating point to string conversion in pure Rust, they claim to be the fastest float-to-string parsing algorithm with the following features:\n\n * Round trip guarantee\n * Shortest decimal representation\n * Correct rounding\n * High performance\n * Small binary size\n * Fast compile time\n * IEEE 754 `double` and `float` support\n * Safer API than classic `dtoa`\n * User-friendly output format similar to Python's default representation\n * Zero dependencies\n\n",
"title": "Idea: adding Zmij for faster float-to-string parsing?"
}