And also see asana's blog post: http://asana.com/2010/10/adding-fibers-to-v8-efficiency-clarity-in-ssjs/
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
--
Vyacheslav Egorov
V8 supports cooperative multi-tasking where several "threads" share
the same VM cooperatively. Only one "thread" can be running in the
same time and running fiber has full control over VM (others can't
steal control unless running one decides to suspend itself). V8 Fibers
simply expose this capability to JavaScript code.
What I wanted to say by my previous message is that V8 Fibers are
implemented on top of real OS threads and use OS synchronization
primitives to schedule execution. This incurs overhead bigger than
that of the real green threads.
--
Vyacheslav Egorov
In other words. Fibers are an expensive type of control flow that give
you no performance benefit. Sounds useful.
Sorry bout the sarcasm but for a second I thought this was a way of
opening up node to the data analysis/visualization market (which is
where I live). Disappointing.
Use more than one...