antonpegushin antonpegush​in

Niner since 2013


  • C++ and Beyond 2012: Herb Sutter - atomic<​> Weapons, 1 of 2

    Very nice! When you went from slide 36 (bottom of page 18 in the pdf stack) to slide 37 and made a note to the audience about how hard it is to get atomics-based algorithms correctly, I thought you could have easily used the same simple example from slide 36 for "total store order" to demonstrate this exact point by comparing if(y==1 && x==0) with if(x==0 && y==1) for thread 4.