News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by mhh__ on Sunday January 03, 2021 @03:39PM (#25625006)
> 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.

There are no comments on this comment yet.