Harmony - proxies | asynchronous

Dean Landolt dean at deanlandolt.com
Sat Sep 3 12:19:00 PDT 2011

On Sat, Sep 3, 2011 at 7:15 AM, Jorge <jorge at jorgechamorro.com> wrote:

> On 02/09/2011, at 18:08, Mikeal Rogers wrote:
> > fibers turns node.js in to something the core team doesn't really view as
> being "node.js" any longer.
> >
> > we believe that it's more important to have assurances that your state
> can't mutate between anything but a callback and that breaking that means
> you're basically breaking node.
> But fibers don't break that guarantee (if it exists at all: contexts are
> *not* immutable, even without fibers).

A `wait` construct does. But what I think Mikeal misunderstands is that
generators aren't fibers, and `wait`, at least as it exists in something
like fiber.js, is not explicitly possible. IIUC the invariant he's concerned
about isn't actually broken.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110903/6c0b8309/attachment.html>

More information about the es-discuss mailing list