News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by pornel on Sunday January 03, 2021 @03:35PM (#25624976)
Nothing stops someone from copying and submitting other implementation's algorithm. There are multiple implementations of each benchmark for every language:

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

It's possible that someone has already submitted both algorithms for both languages, and different approaches won for language-specific reasons.

Re:Rust is now overall faster than C in benchmarks by FartyMcFarter on Sunday January 03, 2021 @03:40PM (#25625020)
These are all the C versions I can find:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

None of them have SSE intrinsics or are quite as long as the Rust version.

I find it doubtful that SSE intrinsics wouldn't help the C version, if they are indeed helping the Rust version. This seems fairly easy to check as the Rust version has a non-SSE fallback code path - I'd do it myself but am not able to at the moment.

Re:Rust is now overall faster than C in benchmarks by littlestymaar on Sunday January 03, 2021 @06:34PM (#25626342)
> Nothing stops someone

Well, it looks like the submission process[0] and the maintainer[1] do, actually.

[0]: https://www.reddit.com/r/rust/comments/kpqmrh/rust_is_now_ov... [1]: https://www.reddit.com/r/rust/comments/kpqmrh/rust_is_now_ov...

Re:Rust is now overall faster than C in benchmarks by igouy on Monday January 04, 2021 @06:05PM (#25639533)
> "…but they don't accept Gmail addresses."

"Registration with @gmail.com addresses is blocked due to abuse, please register with another address. You can change it later, once signed up and verified."

However, apparently, you can register using a Google, Bitbucket or GitLab.com sign-in.

Re:Rust is now overall faster than C in benchmarks by igouy on Monday January 04, 2021 @02:27PM (#25636583)
When someone on proggit writes — "Yeah it's really hard to submit code. Not only do you have to sign up for their site but they don't accept Gmail addresses." — they may just be repeating something they read on proggit.
Re:Rust is now overall faster than C in benchmarks by igouy on Monday January 04, 2021 @02:41PM (#25636793)
It's only 6 weeks since that Rust revcomp #1 program was contributed — November 23, 2020.