www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - pmap

reply bearophile <bearophileHUGS lycos.com> writes:
Can something like a pmap() (parallel map) be added to std.algorithm that
accepts a pure function/pure delegate, and uses more than one core when
available (and just calls map when not available)?

Clojure is showing the way :-)
http://blog.rguha.net/?p=153

Bye,
bearophile
Mar 09 2009
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
bearophile wrote:
 Can something like a pmap() (parallel map) be added to std.algorithm that
accepts a pure function/pure delegate, and uses more than one core when
available (and just calls map when not available)?
 
 Clojure is showing the way :-)
 http://blog.rguha.net/?p=153

Not yet. Andrei
Mar 09 2009