[Python-Dev] uthread strawman

Guido van Rossum guido at python.org
Thu Nov 9 23:54:16 CET 2000


> Christian Tismer wrote:
> > Does anybody know of a useful example where continuations
> > are really needed? 

[Bill Tutt]
> Well, I don't know about needed, but let me explain a possible sever
> architecture, and then see what new fangled control structure could help it
> become more manageable. (irrespective if the perf #s of such an architecture
> would actually be worth the architecture overhead in current CPython)
[...]
> But it's not clear to me (mostly because I haven't applied a lot of thought
> about it) if coroutines would suffice here.

Indeed, this kind of server architecture is typically done with
coroutines -- it's not a good argument for the full power of
continuations. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Stackless mailing list