@BRIAN_____ @johnregehr @spun_off could something else happen to the data OOO even if the code treated the pointer as volatile?
@mik235 @johnregehr @spun_off My policy is to not think about what happens when one misuses `volatile` beyond proving & removing the misuse.
-
-
@BRIAN_____ every OS and embedded system depends on what (AFAICT) you think is misuse of volatile, right? https://lwn.net/Articles/508991/ … -
@johnregehr If Linux were written in ISO C, that is misuse. But it is written in "the C dialect that does what Linux expects." so it's not. -
@johnregehr I think you might be arguing the "ISO C should change" perspective. I'm arguing the "let's change to cope best with ISO C" side. -
@johnregehr FWIW, I am interested in improving ISO C but improvements more likely to be adding new features, not changing existing things. -
@BRIAN_____ ISO C is frustrating, it's this fakey thing that doesn't get the job done -
@johnregehr Sure. My goal is to minimize surprises in code I deal with, so I try to be as strict as possible. I'm no fan of ISO C. Coping.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.