[Python-ideas] Python and Concurrency
Josiah Carlson
jcarlson at uci.edu
Sun Mar 25 18:34:58 CEST 2007
Aahz <aahz at pythoncraft.com> wrote:
>
> On Sun, Mar 25, 2007, Talin wrote:
> >
> > Thinking more about this, it seems to me that discussions of syntax for
> > doing parallel operations and nifty classes for synchronization are a
> > bit premature. The real question, it seems to me, is how to get Python
> > to operate concurrently at all.
>
> Maybe that's what it seems to you; to others of us who have been looking
> at this problem for a while, the real question is how to get a better
> multi-process control and IPC library in Python, preferably one that is
> cross-platform. You can investigate that right now, and you don't even
> need to discuss it with other people.
>
> (Despite my oft-stated fondness for threading, I do recognize the
> problems with threading, and if there were a way to make processes as
> simple as threads from a programming standpoint, I'd be much more
> willing to push processes.)
I generally agree. XML-RPC works pretty well in this regard, though as
I talked about a couple months ago, it's transport format encoding and
decoding result in overhead during calling that leaves something to be
desired.
- Josiah
More information about the Python-ideas
mailing list