News for hackers. Stuff that matters.
Re:There's No Such Thing as “Implicitly Atomic” by klodolph on Thursday October 05, 2023 @01:57PM (#37781780)
A problem identified in the article is that if you access a word-size object, your compiler may use a load or store of some different size, violating your assumptions about atomicity. This is not just about ISAs.

The example cited was in a library written in C.

Re:There's No Such Thing as “Implicitly Atomic” by loeg on Thursday October 05, 2023 @04:51PM (#37784140)
Yeah. FreeBSD requires its C compiler not to do that, essentially.