ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-Tutor
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved