Hacker News new | past | comments | ask | show | jobs | submit login

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.



Don'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


maybe stable semantics helped people writing better libs too ?


That'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.


Another 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: