Re: Wait-free queue

2016-10-19 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 18 October 2016 at 18:03:58 UTC, Andrei Alexandrescu 
wrote:
Interesting work: 
http://concurrencyfreaks.blogspot.com/2016/10/crturn-queue-first-mpmc-memory.html -- Andrei


I could not help but paste something from the paper: "We chose 
C++14 because

it is a native language that is supported by most recent compilers
and has a well defined memory model and atomics API, which
makes the code portable across different architectures without any
modification and without introducing CPU specific memory fences."

Conclusion:
D needs a serious document (specification) explaining the memory 
model!


Re: Wait-free queue

2016-10-19 Thread Nordlöw via Digitalmars-d
On Tuesday, 18 October 2016 at 18:03:58 UTC, Andrei Alexandrescu 
wrote:

http://concurrencyfreaks.blogspot.com/2016/10/crturn-queue-first-mpmc-memory.html
 -- Andrei


Should we port this D with the help of cpp2d and add it to 
std.concurrency? :)


Re: Wait-free queue

2016-10-18 Thread Atila Neves via Digitalmars-d
On Tuesday, 18 October 2016 at 18:03:58 UTC, Andrei Alexandrescu 
wrote:
Interesting work: 
http://concurrencyfreaks.blogspot.com/2016/10/crturn-queue-first-mpmc-memory.html -- Andrei


I was about to send this link to a friend and ex-colleague who's 
nuts about this stuff, then... realised he wrote this!


He gave a presentation at CppCon last year on his work as well.

Atila