On Sat, Sep 3, 2011 at 7:15 AM, Jorge <[email protected]> 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.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

