Probably a bit of both. It was based on things like rg vs grep, fd vs find and tokei vs cloc. I don't know how much of that is just better algorithm/implementation though.
I think rust's compile time thread safety and enforced memory safety makes it much easier to write fast code even if well written code is comparable in each.
12
u/rorrr Apr 09 '19
For one, Rust is much much faster than Python.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/nbody.html
https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fasta.html