Montag, 5. Mai 2014

Maitreffen 2014

Liebe C++-Freunde,

im Mai treffen wir uns am 8. wie gewohnt gegen 20:00 Uhr in der Wu5. Fabio Fracassi kommt aus Berlin zu uns, um das C++-Speichermodell vorzustellen. Die Ankündigung und die Folien sind englisch, aber ich werde ihn davon überzeugen, den Vortrag auf deutsch zu halten. Entschuldigt bitte die späte Ankündigung. Ich hoffe, dass es trotzdem viele bis Donnerstag einrichten können.

Viele Grüße,
Peter

C++ Memory Model

The C++ memory model defines how multiple threads interact with memory and shared data, enabling developers to reason about concurrent code in a platform independent way. The talk will explain multi-threaded executions and data races in C++, how concurrent code is affected by compiler and hardware optimizations, and how to avoid undefined behavior by using locks and atomic operations. Then we focus on different memory orders for atomic operations, their guarantees and performance implications.