Python is readable

Chris Angelico rosuav at gmail.com
Thu Mar 22 15:48:01 EDT 2012


On Fri, Mar 23, 2012 at 6:33 AM, Nathan Rice
<nathan.alexander.rice at gmail.com> wrote:
> Pipes do not provide any fine grained control over the concurrent
> behavior.  If you want to change the order of calls, suddenly you have
> to write a bash script (with its own set of issues), etc.

Go back to my original post. I posited a means of communication which
allows one module to "call" a function in another module, purely by
writing to stdout. All four (or however many) modules would run
concurrently, and be waiting on stdin most of the time. Of course, the
same technique could be used for true concurrency; with such a simple
message-passing technique, there's no reason to wait for your response
before continuing.

ChrisA



More information about the Python-list mailing list