Encoding unit — one grounded idea

1 The C++11 memory model prevents compilers from moving operations out of critical sections, which was previously unclear and sometimes violated.
“you can't move operations out of critical sections which was kind of obvious anyway but some compilers did it anyway because the rules were not clear at the time”
spoken · 219s · 2024-03-04 · en · ACM SIGPLAN · [FOWM'24] What we learned from C++ atomics and memory model standardization
id: 6db4dc26c4ca7e28
concepts in this idea