Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Rust is now faster than C

Name: Anonymous 2017-02-21 18:14

http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=knucleotide

How can this be? Since C is as fast as assembly, does this mean Rust does some microcode optimilzation under the hood?

Name: Anonymous 2017-02-23 15:24

https://www.reddit.com/r/programming/comments/5vddq2/rust_is_now_the_fastest_language_on_knucleotide/
It boils down to fact khash is trash and ordermap is really simple. Since C entries cannot use anything else, the benchmarks is rigged in favor of language which doesn't have this requirements...
https://github.com/bluss/ordermap/blob/master/src/lib.rs
https://github.com/attractivechaos/klib/blob/master/khash.h
Also Rust in real world:
https://medium.com/@robertgrosse/how-copying-an-int-made-my-code-11-times-faster-f76c66312e0f#.nv29iicug

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List