More material: http://calculist.org/blog/2011/12/14/why-coroutines-wont-work-on-the-web/
On Jan 17, 2012, at 21:30 , Dean Landolt wrote: > You can get these semantics with generators plus a library (see Dave Herman's > task.js [1] as a great example). As generators your `return function;` > special form would be spelled spelled `yield` instead, and as shallow > continuations this style avoids the potential interleaving hazards implied by > your proposal (the inherent run-to-completion violation of fibers). > > [1] https://github.com/mozilla/task.js -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

