News for hackers. Stuff that matters.
Re:There's No Such Thing as “Implicitly Atomic” by ahoka on Thursday October 05, 2023 @05:26PM (#37784490)
This. Even Java guarantees this. The only practical places this is can be a problem are maybe 8/16bit microcontrollers. What the hell is TFA talking about?
Re:There's No Such Thing as “Implicitly Atomic” by favorited on Thursday October 05, 2023 @08:13PM (#37785832)
It's not guaranteed in C and C++. The author pointed out an example where an arm64 compiler split a word-size write into 2 store instructions because it resulted in smaller code size.