Encoding unit — one grounded idea

1 C++11 memory model prohibits compilers from introducing self-assignments because they violate sequential consistency in data race-free programs.
“compilers are not allowed to introduce assignments of a variable to itself uh because that's actually observable and violates the sequential consistency for data race free program rules”
spoken · 178s · 2024-03-04 · en · ACM SIGPLAN · [FOWM'24] What we learned from C++ atomics and memory model standardization
id: e4f60ffcc1c881ca
concepts in this idea