Hacker Newsnew | comments | ask | jobs | submitlogin grayrest
704 days ago | link | parent  Do you have an overview of how the
async macro works? The presentation wasn't long enough to fit in
but I'm hoping you have a written explanation somewhere. Cursory
search didn't turn up anything.  I've seen flows of roughly the
same complexity from a variety of abstractions: monadic (F#
async), generator/coroutine (Python gevent, node fibers),
futures/promises (twisted, mochikit, commonjs q), and callbacks
(a million node async flow helpers) but they always involve more
code. This looks like auto-transformed futures with error
bubbling instead of error callback but I'd like to know how it's
actually working. The lack of ceremony/annotation is commendable
but I'm concerned it's fragile magic.  prospero 704 days ago |
link  I haven't really written about this anywhere, and the code
in its current state is far from self-documenting, so I'll give
it a shot here.  The code transformation is pretty much all
local. Since eve