3 ms·
Rust hasn't really got 'faster' in that time, barring the odd optimizer improvement as noted in sibling. Much more likely that whatever benchmark you refer to h
by adwhit 8y ago
Rust hasn't really got 'faster' in that time, barring the odd optimizer improvement as noted in sibling. Much more likely that whatever benchmark you refer to has been rewritten for better performance.
- steveklabnik 8y agoDon't discount multiple years of "odd optimizer improvements". They add up. That said, yes, re-writes are probably a bigger thing here. Especially lately: https://llogiq.github.io/2018/09/06/fast.html https://llogiq.github.io/2018/09/06/fast.html
- agumonkey 8y agomaybe stable semantics helped people writing better libs too ?
- steveklabnik 8y agoThat's true, though the benchmark game doesn't use many libraries, and the post was written just before 1.0, as things were settling down a bit.
- raphlinus 8y agoAnother major evolution is that SIMD is becoming part of stable Rust. It is available in C and C++ as GCC and Clang extensions, but not part of the standard language. Careful use of SIMD can result in fairly massive speedups across a wide range of problem domains.