Michael> CPython CAN leverage such environments, and it IS used that
Michael> way. However, this requires using multiple Python processes
Michael> and inter-process communication of some sort (there are lots of
Michael> choices, take your pick). It's a technique which is more
Michael> trouble for the programmer, but in my experience usually has
Michael> less likelihood of containing subtle parallel processing
Michael> bugs.
In my experience, when people suggest that "threads are easier than ipc", it
means that their code is sprinkled with "subtle parallel processing bugs".
Michael> Perhaps the REAL solution is just a really good IPC library
Michael> that makes it easier to write programs that launch "threads" as
Michael> separate processes and communicate with them.
Tuple space, anyone?
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com