Faster printing of floats; is this something that D could benefit from?

Andre Pany andre at s-e-a-p.de
Sat Jul 28 19:44:18 UTC 2018


On Saturday, 28 July 2018 at 16:02:22 UTC, Gary Willoughby wrote:
> I just saw this on hacker news:
>
>> We present Ryū, a new routine to convert binary floating point 
>> numbers to their decimal representations using only fixed-size 
>> integer operations, and prove its correctness. Ryū is simpler 
>> and approximately three times faster than the previously 
>> fastest implementation.
>
> Links:
>
> https://pldi18.sigplan.org/event/pldi-2018-papers-ry-fast-float-to-string-conversion
> https://www.youtube.com/watch?v=kw-U6smcLzk
> https://github.com/ulfjack/ryu

Added to the list of SAOC 2018 ideas
https://wiki.dlang.org/SAOC_2018_ideas#Implementation_of_RYU_to_convert_floats_to_strings

Kind regards
André


More information about the Digitalmars-d mailing list