Promises/A+ spec implementations?
Alexander J. Vincent via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 19 19:19:50 PDT 2015
On Thursday, 20 August 2015 at 01:10:39 UTC, Alex Parrill wrote:
> IMO the 'next' generation of async is fibers/coroutines, not
> promises. Vibe.d is a great example; the code looks exactly
> like a normal synchronous function (including try/catch!), but
> is asynchronous behind the scenes.
>
> See also vibe.d's feature page [1] and examples [2]
Ahhh. That's actually really close to what I had in mind
_immediately after_ Promises. Mozilla does the same thing with
microtasks and a yield statement in ECMAScript 6. So that's
actually a good thing! Thanks for the links.
More information about the Digitalmars-d-learn
mailing list