5 ms·
Nothing stops someone from copying and submitting other implementation's algorithm. There are multiple implementations of each benchmark for every language: •
by pornel 6y ago
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/program/revcomp-rust-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
• https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-rust-2.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
• https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-rust-3.html 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.
- FartyMcFarter 6y agoThese are all the C versions I can find: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-gcc-2.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-gcc-4.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-gcc-5.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-gcc-6.html 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.
- littlestymaar 6y ago> 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_overall_faster_than_c_in_benchmarks/ghzpo7h/?utm_source=reddit&utm_medium=web2x&context=3 https://www.reddit.com/r/rust/comments/kpqmrh/rust_is_now_ov... [1]: https://www.reddit.com/r/rust/comments/kpqmrh/rust_is_now_overall_faster_than_c_in_benchmarks/ghzyb9g/?utm_source=reddit&utm_medium=web2x&context=3 https://www.reddit.com/r/rust/comments/kpqmrh/rust_is_now_ov...
- igouy 6y agoWhen 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.
- igouy 6y ago> "…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.
- igouy 6y agoIt's only 6 weeks since that Rust revcomp #1 program was contributed — November 23, 2020.