What are the real advantages that D offers in multithreading?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 28 12:23:28 PST 2016
On Thursday, 28 January 2016 at 10:26:29 UTC, Kagamin wrote:
> On Wednesday, 27 January 2016 at 17:30:28 UTC, Brad Anderson
> wrote:
>> Yeah, boost can do fibers. ASIO has clever/hacky "stackless
>> coroutines" and C++17 is going to add "stackless resumable
>> functions" for async/await. D is about to lose a competitive
>> advantage here.
>
> Isn't asio based on fibers just like vibe?
More like generators, like C#, Hack or python. Note that the 2
strategies can be used concurrently. For instance, HHVM run each
request in a fiber + use asio within request to get another level
of parallelism.
More information about the Digitalmars-d
mailing list