News for hackers. Stuff that matters.
Re:No sane compiler would optimize atomics (2015) by b3morales on Sunday July 11, 2021 @06:05PM (#27804834)
Very interesting. I would love to see tools emerge out of that research. In my experience one of the basic problems with testing/verifying concurrent code is that it is often difficult-to-impossible to perturb a particular part of the system, to exercise different orderings, and thus find corners.
Re:No sane compiler would optimize atomics (2015) by seppel on Monday July 12, 2021 @02:42AM (#27807734)
Helgrind does something like this: https://www.valgrind.org/docs/manual/hg-manual.html
Re:No sane compiler would optimize atomics (2015) by b3morales on Monday July 12, 2021 @11:49AM (#27811487)
Good to know, thanks!