multiprocessing vs thread performance

Aaron Brady castironpi at
Tue Dec 30 03:52:59 CET 2008

On Dec 29, 7:40 pm, "James Mills" <prolo... at>
> On Tue, Dec 30, 2008 at 11:34 AM, Aaron Brady <castiro... at> wrote:
> > The OP may be interested in Erlang, which Wikipedia (end-all, be-all)
> > claims is a 'distribution oriented language'.
> I'm presently looking at Virtual Synchrony and
> other distributed processing architectures - but
> circuits is meant to be general purpose enough
> to fit event-driven applications/systems.

I noticed a while ago that threads can be used to simulate
generators.  'next', 'send', and 'yield' are merely replaced by
synchronizor calls (coining the term).

Not the other way around, though, unless the generator guarantees a
yield frequently.  'settrace' anyone?

More information about the Python-list mailing list