2 ms·
Coroutines are available in Node via the fibers package (https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers). For benchmarks compar
by olegp 15y ago
Coroutines are available in Node via the fibers package (https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers). For benchmarks comparing performance to purely asynchronous webapps, check out the README to my Common Node project (https://github.com/olegp/common-node https://github.com/olegp/common-node), which implements a number of synchronous CommonJS proposals on Node using fibers.