Re: Advanced concurrancy
- From: Calvin Spealman <ironfroggy@xxxxxxxxx>
- Date: Thu, 28 Jul 2005 13:06:34 -0400
Twisted [1] includes lots of support for asyncronous concurrency,
using deferreds. There is also the possiblity of PEP 342's [2]
concurrency through enhanced generators, and being able to pass data
to the generator every iteration. There are ways to simulate this, as
well. I've written a recipe [3] for it over at ASPN.
Personally, I like the generator approach better, because it gives a
feel of threads, but with direct control of the timeslicing, a better
sense of understanding, and doesn't rely on things happening in the
background, like deferreds often do.
On 7/28/05, Peter Tillotson <none@xxxxxxxxx> wrote:
> Hi,
>
> I'm looking for an advanced concurrency module for python and don't seem
> to be able to find anything suitable. Does anyone know where I might
> find one? I know that there is CSP like functionality built into
> Stackless but i'd like students to be able to use a standard python build..
>
> I'm trying to develop distributed / Grid computing modules based on
> python. The aim is to be able to use barriers for synchronisation and
> channels for communication between processes running on a single box.
> Then the jump to multiple processes on multiple boxes and eventually to
> MPI implementations. Hopefully, each jump should not be that big a leap.
>
> Of course it would be nice if there was a robust way of managing
> concurrency in python aswell ;-)
>
> p
> --
> http://mail.python.org/mailman/listinfo/python-list
>
.
- Follow-Ups:
- Re: Advanced concurrancy
- From: jemfinch
- Re: Advanced concurrancy
- References:
- Advanced concurrancy
- From: Peter Tillotson
- Advanced concurrancy
- Prev by Date: ANN: Python training, 2005 Aug 29-31, San Francisco
- Next by Date: Re: Graphics files & Python
- Previous by thread: Advanced concurrancy
- Next by thread: Re: Advanced concurrancy
- Index(es):
Relevant Pages
|