Is there something like Grand Central Dispatch for D?

Jacob Carlborg doob at me.com
Mon Apr 8 08:10:41 PDT 2013


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


More information about the Digitalmars-d mailing list