Re: atomic Weapons: The C++ Memory Model and Modern Hardware

2013-07-09 Thread Sean Kelly
On Jul 8, 2013, at 12:04 PM, Flamaros flamaros.xav...@gmail.com wrote: http://herbsutter.com/2013/02/11/atomic-weapons-the-c-memory-model-and-modern-hardware/ Is D and DMD aware of those kind of issues with atomic? I think more thought needs to be given to how the compiler recognizes

Re: atomic Weapons: The C++ Memory Model and Modern Hardware

2013-07-09 Thread Sean Kelly
On Jul 8, 2013, at 5:05 PM, Marco Leise marco.le...@gmx.de wrote: Fortunately on x86 architectures at least, atomic operations are pretty sane and fast. The x86 memory model is sufficiently strict that, by and large, simple concurrent interactions actually work without any memory barriers at

Re: atomic Weapons: The C++ Memory Model and Modern Hardware

2013-07-09 Thread Robert Schadek
On 07/08/2013 09:04 PM, Flamaros wrote: http://herbsutter.com/2013/02/11/atomic-weapons-the-c-memory-model-and-modern-hardware/ Is D and DMD aware of those kind of issues with atomic? OT: How does he change slides? I can't see a clicker nor a sign for somebody off camera?? Anyway, awesome

atomic Weapons: The C++ Memory Model and Modern Hardware

2013-07-08 Thread Flamaros
http://herbsutter.com/2013/02/11/atomic-weapons-the-c-memory-model-and-modern-hardware/ Is D and DMD aware of those kind of issues with atomic?

Re: atomic Weapons: The C++ Memory Model and Modern Hardware

2013-07-08 Thread Marco Leise
Am Mon, 08 Jul 2013 21:04:01 +0200 schrieb Flamaros flamaros.xav...@gmail.com: http://herbsutter.com/2013/02/11/atomic-weapons-the-c-memory-model-and-modern-hardware/ Is D and DMD aware of those kind of issues with atomic? I haven't looked into the talk, but I can say this: D offers atomic