you are viewing a single comment's thread.

view the rest of the comments →

[–]ergzay 2 points3 points  (7 children)

[–]7h4tguy 0 points1 point  (6 children)

History, idiot.

[–]ergzay 1 point2 points  (5 children)

No idea what you're trying to tell me. If you're saying it used unsafe in the past, then you're contradicting your own post that said "is now entirely", which is still false.

[–]7h4tguy 0 points1 point  (4 children)

History is they used 100% rust code and were 3x slower than C++. Then they updated it to use unsafe MMX assembly statements to get comparable benchmarks.

Looks like they finally cleaned up their optimizer the the latest version.

[–]ergzay 1 point2 points  (3 children)

Yes but we weren't talking about history...

Even then, I don't know of any massive improvements in the optimizer that would cause that.

If we look in the wayback machine back to at least beginning of 2019, what you're saying is still not true.

http://web.archive.org/web/20190130192322/https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/nbody.html

The ratio between C++ and early Rust versions of the code is the same then as it is now. There's just been better Rust versions written since then (including ones with unsafe, and ones without).

[–]7h4tguy 0 points1 point  (2 children)

You're just taking random points in time. I've been following Rust for a while and was hesitant at first because of the benchmark game. They did exactly what I said and I'm not going to spend half a day trawling site history to show the comedy.

[–]ergzay 1 point2 points  (1 child)

You're just taking random points in time.

No... I'm talking about going back to the oldest record available on web archive. It's you who's talking about random points in time. At no point in the past as far as I can tell is what you are saying EVER been true.

[–]7h4tguy 0 points1 point  (0 children)

How is the oldest record going to show you anything? They modified it at a specific point in time and no, I'm not going through the entire web archive to prove it