|
Boost : |
From: Don G (dongryphon_at_[hidden])
Date: 2005-03-23 23:18:48
Hi Patrick,
Thanks for the links. I looked briefly at the Twisted reference, but
since I do not speak python, it was a hard going. :) I will put more
effort into it soon.
Best,
Don
--- Patrick Mézard <pmezard_at_[hidden]> wrote:
> You should take a look at the python Twisted framework
> <http://twistedmatrix.com/>. There are performance issues in python
> with
> threads because of the Global Interpreter Lock (GIL). The framework
> is a
> workaround, performing every task in an asynchronous way from a
> single
> thread. The design of the Defer class is interesting and is the key
> of
> asychronous tasks control flows
>
(<http://twistedmatrix.com/projects/core/documentation/howto/defer.html>).
>
> By the way, there were and will be lengthy discussions about which
> approach is the "best" to build scalable concurrent programs. I
> think
> that multithreading and event-driven programming were proven to be
> equivalent from a theorical point of view, but there real
> differences
> in implementation. You could read this one and many items from its
> bibliography too:
>
> <http://capriccio.cs.berkeley.edu/pubs/threads-hotos-2003.pdf>
> (The Capriccio project was really interesting too, on the paper. I
> do
> not know where they are now).
>
> Patrick Mézard
__________________________________
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
http://baseball.fantasysports.yahoo.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk