News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by MaxBarraclough on Monday January 04, 2021 @11:03AM (#25633042)
Right on. Unless the compiler documentation promises a consistent handling of the various triggers of undefined behaviour, it is under no obligation to always generate code that handles UB consistently.

To my knowledge there is no C compiler that promises to always handle all forms of UB consistently. The closest you could get would probably be something like Valgrind.

Re:Rust is now overall faster than C in benchmarks by pjmlp on Monday January 04, 2021 @03:01PM (#25637049)
At least for this specific case Microsoft and Google are fixing it by always initializing the variables.