Hacker GitHub

← All repos

jk-jeon/dragonbox

View on GitHub ↗ ★ 822 C++

Reference implementation of Dragonbox in C++

7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2022-07-12 · latest 2025-08-04

Mentions per year 7 mentions · busiest year 2024 (4)
20082026
  1. …of serializing floating-point numbers has improved, even just in the past decade [1]. [1] https://github.com/jk-jeon/dragonbox?tab=readme-ov-file#perf...
  2. AFAIK the state of the art now is "dragonbox": https://github.com/jk-jeon/dragonbox
  3. …and microcontroller-class algorithm more than anything I’d want to use on a modern machine. [1] https://github.com/jk-jeon/dragonbox/blob/master/README.md#p...
  4. https://github.com/jk-jeon/dragonbox/discussions/57#discussi... We have been doing some experiment on optimizing for size, and currently it can be reduced to ~3k on 8-bit AVR. It only contains impl/table for single-precision binary32, and…
  5. …dragonbox [1] project is also worth a read. Pretty optimized for the least used branches. [1] https://github.com/jk-jeon/dragonbox
  6. …floats exactly is https://github.com/ulfjack/ryu , though I'm unaware what's the state-of-the-art ( https://github.com/jk-jeon/dragonbox claims to be a benchmark and the best algorithm).
    comment by nyanpasu64 · 2022-08-03 · in I still love PHP and JavaScript