|
|
|
|
|
by The_rationalist
2404 days ago
|
|
Facts:
On average rust is 10% slower on the banchmarkgame:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/... But they use llvm instead of gcc for c++, and gcc is in average 20% faster than clang.
Therefore, rust is 30% slower, at least on heavily optimised programs. And hyper is not the fastest http server, but the actix one is one of the fastest yes. |
|
That does not show it's 10% slower on average; it shows that C++ is 0.9917938291x as fast as Rust. They both have some where they win by 30%, most are closer, Rust is just faster on average.
> But they use llvm instead of gcc for c++,
C++ g++ g++ (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
?
> gcc is in average 20% faster than clang.
Extremely citation needed.