== Quote from Walter Bright ([email protected])'s article
> Walter Bright wrote:
> > Robert Jacques wrote:
> >> On Fri, 23 Apr 2010 11:10:48 -0300, Walter Bright
> >> <[email protected]> wrote:
> >>
> >>> Michael Rynn wrote:
> >>>> OK where's the naive version of the D Pi program that scales up with
> >>>> 1,2,4 cores? How far off are we? Is the concurrency module working
> >>>> with it yet?
> >>>
> >>> Nobody's written a library function to parallelize a map/reduce yet.
> >>
> >> Dave Simcha has.
> >> Code:
> >>
http://dsource.org/projects/scrapple/browser/trunk/parallelFuture/parallelFuture.d
> >>
> >> Docs: http://cis.jhu.edu/~dsimcha/parallelFuture.html
> >
> > Cool!
> Unfortunately, it currently fails to compile with D2.

Can you tell me what errors you're getting?  I realize that map and reduce are
slightly brittle due to a combination of severe abuse of templates and subtle
differences in the way different compiler releases handle IFTI, but for me all 
the
unittests still compile and run successfully on 2.045.  Also, I eat my own 
dogfood
regularly and haven't noticed any problems with this lib, though the vast 
majority
of my uses are the parallel foreach loop, not map and reduce.

Reply via email to