parallelFuture

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Sat Oct 24 02:15:34 PDT 2009


Andrei Alexandrescu wrote:
> Christopher Wright wrote:
>> Andrei Alexandrescu wrote:
>>> dsimcha wrote:
>>>> Again, code:
>>>>
>>>> http://dsource.org/projects/scrapple/browser/trunk/parallelFuture/parallelFuture.d 
>>>>
>>>>
>>>> Docs:
>>>>
>>>> http://cis.jhu.edu/~dsimcha/parallelFuture.html
>>>
>>> What license is the library under?
>>>
>>> Andrei
>>
>> Boost. I suppose you didn't want to look at the source in case the 
>> license wasn't sufficiently liberal, but it's easy enough to scan 
>> through the module's doc comments for a license block, without reading 
>> the source code.
> 
> I actually did take a look but couldn't visually find the license block 
> at the beginning or end of the code, sorry. Now I see it's a bit below 
> the beginning.
> 
> Great - it would be cool if we could adapt this for Phobos. I'm hoping 
> Sean (who is fleshing out his messaging API) and David could find ways 
> to integrate their work.


I was actually going to suggest just that. :) I definitely think this 
deserves a place in Phobos. The parallel foreach alone covers a lot of 
use cases for multithreaded code in the simplest way.

-Lars


More information about the Digitalmars-d-announce mailing list