> On Sun, Sep 30, 2001 at 10:45:46AM -0700, Hong Zhang wrote:
> >Python uses global lock for multi-threading. It is reasonable for io
thread,
> >which blocks most of time. It will completely useless for CPU intensive
> >programs or large SMP machines.
> 
> It might be useless in theory.  In practice it isn't, because most
> CPU-intensive tasks are pushed down into C code anyway, and C code can
> release the single interpreter lock while it's crunching away.

That does not mean Python is a high performance MT language. It just gives
the problem to C. In that sense, every language is about to have the speed,
since we can just write everything in C and call it, and we are blazing
fast everywhere, .NET?

Hong

Reply via email to