Announcing libasync, a cross-platform D event loop
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 25 16:34:30 PDT 2014
On 09/24/2014 06:30 PM, Etienne wrote:
> > This is fantastic! We really need something like this in a Facebook
> > project.
>
> That's pleasing to hear, although I'm pretty sure Facebook is far from
> being the only organization who will benefit from this ;)
Who doesn't need something like this?
> > Would be appropriate for you to consider making a bid for adding it
> to Phobos?
>
> Thanks for the invitation, I'll start working on a phobos fork with this
> added into std.async and re-licensed to Boost. Would that be an
> appropriate namespace?
I still have to try out the library, but I'd like to see that.
One thing that always bothers me with async libraries is that now every
IO class has it async cousin, so there is Socket and AsyncSocket,
resolveDNS and asyncResolveDNS.
With Fibers and a Scheduler it's actually possible to present the same
API to asynchronous and synchronous code. I'd really like to see this at
some point, but a cross-platform event loop in phobos is a great first step.
More information about the Digitalmars-d
mailing list