www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Is there something like Grand Central Dispatch for D?

reply "Bienlein" <jeti789 web.de> writes:
Hello,

I'm looking for something like Grand Central Dispatch (GCD) for
D. GCD is a library that allows for parallel programming by
adding functions/lambdas to queues, where each queue has a thread
on its own, see
http://en.wikipedia.org/wiki/Grand_Central_Dispatch

There is http://hawtdispatch.fusesource.org/ for Java, but
porting it quickly to D might take some time...

Thanks for any hints,
Bienlein
Apr 08 2013
parent Jacob Carlborg <doob me.com> writes:
On 2013-04-08 16:45, Bienlein wrote:
 Hello,

 I'm looking for something like Grand Central Dispatch (GCD) for
 D. GCD is a library that allows for parallel programming by
 adding functions/lambdas to queues, where each queue has a thread
 on its own, see
 http://en.wikipedia.org/wiki/Grand_Central_Dispatch

 There is http://hawtdispatch.fusesource.org/ for Java, but
 porting it quickly to D might take some time...

 Thanks for any hints,
 Bienlein

D has: http://dlang.org/phobos/std_parallelism.html http://dlang.org/phobos/std_concurrency.html I think std.parallelism is closest to GCD. -- /Jacob Carlborg
Apr 08 2013