[Python-Dev] uthread strawman

Guido van Rossum guido@python.org
Thu, 09 Nov 2000 17:54:16 -0500


> 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/)