[Twisted-Python] PDF I thought may be of interest

Tristan Seligmann mithrandi at mithrandi.net
Sat Dec 13 10:16:49 EST 2008

* Manlio Perillo <manlio_perillo at libero.it> [2008-12-13 11:54:05 +0100]:

> glyph at divmod.com ha scritto:
>> For another, the paper arbitrarily redefines the word "threads" to mean 
>> "this cool thing that doesn't exist yet", rather than existing things  
>> that people call "threads".  It specifically mentions the deficiencies  
>> of current thread implementations and does not always point to specific 
>> improvements, let alone the challenge of popularizing and deploying  
>> those improvements.  The comparison to erlang's concurrency model is  
>> interesting, since they specifically avoid the term "threads" - erlang  
>> calls them "processes" to avoid exactly the confusion the authors are  
>> attempting to create.
> The reason Erlang calls them "processes" is because in Erlang each  
> "thread of execution" share nothings with other "threads of execution".
> Haskell, as an example, has "micro threads" support, and it calls them  
> threads (or "Haskell threads"), since the state is shared (but the  
> function that creates a new "thread" is called forkIO, with an  
> additional function forkOS, that creates a thread bound to an OS thread).

There isn't any sharing of *mutable* state, though, unless you
explicitly share it, so this is a lot more similar to Erlang processes
than to Python threads.
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20081213/1e7d8835/attachment.pgp 

More information about the Twisted-Python mailing list