3 ms·
> Node sucks for general web apps because you have to program everything asynchronously. To be fair, the exact problem is not async itself, but forcing CPS (co
by dahlia 15y ago
> Node sucks for general web apps because you have to program everything asynchronously.
To be fair, the exact problem is not async itself, but forcing CPS (continuation-passing style) for serial routines. For example, gevent and eventlet use greenlets (coroutines for Python) to avoid unnecessary callbacks in serial routines.
- robfig 15y agoI'm curious -- how would the author's example look using greenlets?