News for hackers. Stuff that matters.
Re:Challenge to scientists: does your ten-year-old code stil... by jnxx on Monday August 24, 2020 @05:40PM (#24265848)
> Race conditions aren't undefined behavior in C/C++. Data races are.

You are right with the distinction, I had data race conditions in mind.

Race conditions can well happen in a correct C/C++ multi-threaded program in the sense that the order of specific computation steps is sometimes random. And for operations such as floating-point addition, where order of operations does matter, the exact result can be random as a consequence. But the end result should not depend dramatically on it (which is what the poster at lockdownskeptics.org claims).

There are no comments on this comment yet.