|
|
|
|
|
by adwhit
3672 days ago
|
|
> I've been watching Rust on that Benchmarks Game site for a while — it's been interesting to see it go from worse than Java a year or so ago to competitive with C++ To be clear, Rust-the-language has not sped up significantly in the past year. It's just that a few dedicated people decided to try to win the benchmarks game strictly for PR purposes [0]. Chances are, for very algo-heavy (i.e. unrealistic) workloads, there are two ways to write it in Rust - fast and safe or very fast and unsafe. (e.g. one can disable bounds checking and get maybe a 2% speedup). All this really serves to show is how artificial the benchmarks are. [0] https://llogiq.github.io/2015/10/03/fast.html |
|
To say something about whether Rust-the-language-implementation was building faster executables wouldn't we compare the same Rust programs built with different Rust versions (not compare Rust programs against Java or C++ programs).
Match-up measurements of the same programs, from the 1st June 2015 and 1st June 2016 data files, like this:
:and then note that the measurements were made on different OS versions, probably with different LLVM versions.