Does D have equivalent of Java util.concurrent?

Dibyendu Majumdar d.majumdar at gmail.com
Sun Apr 28 08:27:31 UTC 2019


On Sunday, 28 April 2019 at 01:22:32 UTC, Heromyth wrote:
> On Saturday, 27 April 2019 at 14:15:01 UTC, Dibyendu Majumdar 
> wrote:
>> Java programmers have benefited hugely from Doug Lea's work 
>> (http://gee.cs.oswego.edu/dl/concurrency-interest/index.html). 
>> I was wondering if D's library has anything equivalent. If 
>> not, I am interested in porting Doug Lea's library from Java 
>> to D; I think the license allows this, but I will check with 
>> Doug Lea.
>
> We have done somthing about this. See here:
>
> Source: 
> https://github.com/huntlabs/hunt/tree/master/source/hunt/concurrency
> Examples: 
> https://github.com/huntlabs/hunt/tree/master/examples/UnitTest/source/test
>
> Current stage: We are trying to port the CompletableFuture.

Nice. Some questions:

Have you based this on the Java8 version from Doug Lea's 
repository? Presumably this isn't a port of Oracle's version?
The concurrent collections aren't ported, am I right?

BTW Doug Lea's copyright notice should be retained in the sources 
if you have ported his code.


More information about the Digitalmars-d mailing list