[Tutor] Psyco (Joseph Quigley)

Max Noel maxnoel_fr at yahoo.fr
Wed May 4 18:30:48 CEST 2005


On May 4, 2005, at 16:35, Joseph Quigley wrote:

> For those who use Psyco:
>     Is it any good? I'm searching for instructions on how to use  
> it, should I
> stop?

     I hear it's quite good at what it does. Note, however, that it  
only works on x86 computers (i.e. IBM PC compatibles).
     Also, if speed is what your program needs, you should go all the  
way and rewrite the critical parts in pure C. It's not very difficult  
to do -- the tutorial on www.python.org explains how to do it.

> For those who don't know about Psyco:
>     It is supposed to be a Python Compiler. The programs are said  
> to run
> faster than normal Python and they almost run as fast as C.

     It's not a compiler. It's a JIT (Just-In-Time) compiler, a  
little bit like HotSpot for Java.
     Also, while it is faster than regular Python, it is still much  
slower than C.

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting  
and sweating as you run through my corridors... How can you challenge  
a perfect, immortal machine?"



More information about the Tutor mailing list