2 ms·
> The Rust code has CPU feature detection and SSE intrinsics, while the C code is more idiomatic. These benchmarks are almost always either useless or a scam -
by mhh__ 6y ago
> The Rust code has CPU feature detection and SSE intrinsics, while the C code is more idiomatic.
These benchmarks are almost always either useless or a scam - you either end up writing rewriting the same implementation n times or you don't utilize the capabilities of the language, either way you're not really measuring much of anything intrinsic to the language itself - Rust and C both have the same backends and if you really care about performance you're going to take it to the max anyway, so inference by the compiler isn't that important.