Communication between python scripts

Peter Hansen peter at engcorp.com
Tue Mar 1 20:00:49 EST 2005


Do Re Mi chel La Si Do wrote:
> A socket (TCP) server is more simplist than XML-RPC, and 30 x faster.

Is it "more simplist" in terms of reliability?  Generally
most people writing low-level socket code, even in Python,
do an absymal job of it.  Far better to avoid reinventing
the wheel and use something higher level where the odds
are good that most of the nitty-gritty details have been
handled and tested already.

And as for "30x faster", please repeat after me: "premature
optimization is the root of all evil in programming".

-Peter



More information about the Python-list mailing list