On Wednesday, 14 November 2012 at 13:19:12 UTC, deadalnix wrote:
The main drawback with that solution is that the compiler can't optimize thread local read/write regardless of shared read/write. This is wasted opportunity.

You mean moving non-atomic loads/stores across atomic instructions? This is simply a matter of the compiler providing the right intrinsics for implementing the core.atomic functions. LDC already does it.

David

Reply via email to