8000 GitHub - tiehuis/zig-ryu: Zig port of https://github.com/ulfjack/ryu
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tiehuis/zig-ryu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conversion of https://github.com/ulfjack/ryu to zig.

Install

git clone --recurse-submodules https://github.com/tiehuis/zig-ryu

Benchmarks

Requires sh, make, cmake, c++, zig

./build.sh
./bench-reference # reference timing
./bench-zig       # zig timing

Todo

  • Make more idiomatic
  • Add f16 variant
  • Add f128 variant (Use partial table set)
  • Add specified precision argument (current errol does this after but this is slows things down a fair bit).
  • Benchmark against current float printing code (memory consumption/performance).

About

Zig port of https://github.com/ulfjack/ryu

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0