Hacker News new | past | comments | ask | show | jobs | submit
wouldn't a concurrent change without synchronization be UB anyway? Also parent wants to cache the address, not the value (but you have to cache the value if you want to optimize manually)
loading story #47427239
loading story #47430326
Not necessarily UB, but absolutely "spooky action" nondeterministic race conditions that make things difficult to understand.