News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by awestroke on Sunday January 03, 2021 @04:15PM (#25625312)
The code for the C-Clang version is terrifying, compared to the Rust version. Which one would you rather maintain?
Re:Rust is now overall faster than C in benchmarks by berkut on Sunday January 03, 2021 @04:30PM (#25625431)
Well, given the comments at the top:

// Contributed by Mark C. Lewis.

// Modified slightly by Chad Whipkey.

// Converted from Java to C++ and added SSE support by Branimir Maksimovic.

// Converted from C++ to C by Alexey Medvedchikov.

// Modified by Jeremy Zerfas.

It sounds like no-one bothered to actually write a from-scratch version of many of these things :)