Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 595 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 595 Bytes

rustc-math-bench

A simple benchmark of how fast rust is at floating point math compared to C.

See this rust issue for a discussion on how architecture-specific optimization could be leveraged to make rustc produce binaries that are both fast (because they take advantage of all available instructions) and portable (because they figure out at runtime which instructions the machine supports):

rust-lang/rust#42432

Contributing

Feel free to send pull requests if you have a better idea how to benchmark at https://github.com/pedrocr/rustc-math-bench