News for hackers. Stuff that matters.
Re:ZeroRPC by DanielRibeiro on Friday June 22, 2012 @04:27PM (#4148574)
Interesting that the python/nodejs comparisons are not equal: the python ones are all synchronous, and the node.js are all asynchronous.

It would be nice to show how to do asynchronous calls in python, and synchronous in node.js

Re:ZeroRPC by shykes on Friday June 22, 2012 @04:54PM (#4148747)
Both implementations use asynchronous io. The difference is simply the API they expose - each implementation simply uses the best api available. With Node the dominant programming model is callback-based so that's what is used. Python has the advantage of a strong and well-supported coroutine library (gevent) so python developers aren't used to putting up with callback spaggheti.

tl;dr zerorpc is agnostic and each implementation uses the best tool for the job.

Re:ZeroRPC by sausagefeet on Friday June 22, 2012 @04:46PM (#4148715)
They are using gevent so I imagine each call is actually concurrent.