|
|
 |
python-Tutor
Re: [Tutor] Compiling Python to Native Machine Code
by Alan Gauld other posts by this author
Sep 2 2003 6:06PM messages near this date
[Tutor] Compiling Python to Native Machine Code
|
Re: [Tutor] Compiling Python to Native Machine Code
> Is it possible to compile Python directly to native machine code?
The reason
> I ask is because I am using Python to do some pretty intensive
simulations
> that take anywhere between 10 minutes and a few hours to run. I
assume that
> if I could compile it directly to machine code that this may speed
up my
> simulation times.
There has been a recent thread on comp.lang.python about
using something called Psycho(?) (sourceforge?) which seemed to get
Python code running around half the speed of C (ie about 5-10
times faster than usual!)
Significantly this test was done using math calculations so it
might work for you too. Another tool in a similar vein that was
mentioned was Pyrex...
Try searching google groups for the references.
Alan g.
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Marc Barry
Alan Gauld
A.M. Kuchling
Danny Yoo
|
|
|
 |
|