Stackless/microthreads merge news
Michael Hudson
mwh21 at cam.ac.uk
Mon Mar 13 13:34:41 EST 2000
Konrad Hinsen <hinsen at cnrs-orleans.fr> writes:
> wware at world.std.com (Will Ware) writes:
>
> > The kind of thing you're looking for would involve interrupting the
> > physical processor rather than the Python VM. Unfortunately, all your
>
> Indeed. But what then are the applications for which one might
> profitably use microthreads? It has to be Python code with no lengthy
> C code execution nor any potentially blocking I/O. Can you really
> get a measurable performance advantage over the standard OS threading?
> I'd expect that the interpreter overhead should be more important than
> the threading overhead. Or is it memory efficiency that you are aiming
> for?
As I understood it, the point is that you can spin off thousands of
threads at once, which might well come in handy for simulations and
such.
Cheers,
M.
--
very few people approach me in real life and insist on proving they are
drooling idiots. -- Erik Naggum, comp.lang.lisp
More information about the Python-list
mailing list