On Friday, 15 November 2013 at 17:46:41 UTC, Russel Winder wrote:
If D programmers are being told to use locks in applications code, then the D programming model and library are failing. Or the advice is
wrong ;-)

It's possible to implement lock-free data structures in D, you can use core.atomic
http://dlang.org/phobos/core_atomic.html

But it's REALLY difficult to implement and it can be SLOWER than Mutex version (not only in D, it depends from usage situation).

Reply via email to