Re: Erlang style processes for Python

2007-05-11 Thread Michael
Jacob Lee wrote: Funny enough, I'm working on a project right now that is designed for exactly that: PARLEY, http://osl.cs.uiuc.edu/parley . Have you seen Kamaelia? Some people have noted that Kamaelia seems to have a number of similarities to Erlang's model, which seems to come from a common

Re: Erlang style processes for Python

2007-05-10 Thread Jacob Lee
On Wed, 09 May 2007 18:16:32 -0700, Kay Schluehr wrote: Every once in a while Erlang style [1] message passing concurrency [2] is discussed for Python which does not only imply Stackless tasklets [3] but also some process isolation semantics that lets the runtime easily distribute tasklets (

Re: Erlang style processes for Python

2007-05-10 Thread Kay Schluehr
On May 10, 8:31 am, Jacob Lee [EMAIL PROTECTED] wrote: Funny enough, I'm working on a project right now that is designed for exactly that: PARLEY,http://osl.cs.uiuc.edu/parley. (An announcement should show up in clp-announce as soon as the moderators release it). My essential thesis is that

Re: Erlang style processes for Python

2007-05-10 Thread jkn
Have you seen Candygram? http://candygram.sourceforge.net/ jon N -- http://mail.python.org/mailman/listinfo/python-list

Re: Erlang style processes for Python

2007-05-10 Thread Jacob Lee
On Thu, 10 May 2007 01:03:39 -0700, jkn wrote: Have you seen Candygram? http://candygram.sourceforge.net/ jon N I did look at Candygram. I wasn't so keen on the method of dispatch (a dictionary of lambdas that is passed to the receive function). It also only works with threads and

Re: Erlang style processes for Python

2007-05-10 Thread Jacob Lee
On Thu, 10 May 2007 00:19:11 -0700, Kay Schluehr wrote: [snip] I do admit that Erlang's pattern matching would be nice, although you can get pretty far by using uniform message formats that can easily be dispatched on -- the tuple (tag, sender, args, kwargs) in the case of PARLEY, which

Erlang style processes for Python

2007-05-09 Thread Kay Schluehr
Every once in a while Erlang style [1] message passing concurrency [2] is discussed for Python which does not only imply Stackless tasklets [3] but also some process isolation semantics that lets the runtime easily distribute tasklets ( or logical 'processes' ) across physical processes.