Opportunities for D
Paolo Invernizzi via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 10 00:11:58 PDT 2014
On Thursday, 10 July 2014 at 06:32:32 UTC, logicchains wrote:
> On Thursday, 10 July 2014 at 05:58:56 UTC, Andrei Alexandrescu
> wrote:
>> We already have actor-style via std.concurrency. We also have
>> fork-join parallelism via std.parallel. What we need is a
>> library for CSP.
>
> The actor-style via std.concurrency is only between
> 'heavyweight' threads though, no? Even if lightweight threads
> may be overhyped, part of the appeal of Go and Erlang is that
> one can spawn tens of thousands of threads and it 'just works'.
> It allows the server model of 'one green thread/actor per
> client', which has a certain appeal in its simplicity. Akka
> similarly uses its own lightweight threads, not heavyweight JVM
> threads.
As Sean wrote, please check [1] or if you need it right now, Vibe
can offer what you need today...
---
Paolo
[1] https://github.com/D-Programming-Language/phobos/pull/1910
More information about the Digitalmars-d
mailing list