2 ms·
That's a real pity. You probably would have been hugely better off with gevent instead. Using gevent isn't quite as good as using a language with a true preempt
by jerf 14y ago
That's a real pity. You probably would have been hugely better off with gevent instead. Using gevent isn't quite as good as using a language with a true preemptive runtime, but it's way easier to work with than nested callback spaghetti.
Anyone else considering Python -> Node, look very carefully at gevent first. Not only can you save the rewrite, you can end up with a better solution at the end too.
http://www.gevent.org/ http://www.gevent.org/