Jorgen Grahn <[EMAIL PROTECTED]> writes:
> But it's interesting that the Unix pipeline Just Works (TM) with so little
> effort.

Yes it is. That's a result of two things:

1) The people who invented pipes were *very* smart (but not smart
   enough to invent stderr at the same time :-).

2) Pipes use a dead simple concurrency model. It isn't even as
   powerful as CSP. No shared memory. No synchronization primitives. Data
   flows in one direction, and one direction only.

Basically, each element of a pipe can be programmed ignoring
concurrency. It doesn't get much simpler than that.

        <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to