Python compiler?

Steven Haryanto steven at haryan.to
Thu Apr 19 04:06:58 EDT 2001


At 4/18/2001 11:23 AM, Rainer Deyke wrote:
>A self-contained executable is no guarantee of speed.  I recently found that
>even with extensions(*) in C++ (with Boost.Python), Python is too slow for
>my own current game project.  I've since converted all of the Python code in
>that project to C++.

There's an article on the May edition of DDJ called "Compiling Perl/Tk
Scripts" by Cameron Laird that might also be useful. The abstract is,
people want to compile because of 1) speed; 2) code security; 3) size;
4) fashion (i.e., just because it's cool); 5) packaging (easier to
deploy, no separated interpreter installation needed).

Of all three er.. five, compiling dynamic scripting languages only
effectively gives us number 4 & 5.

Steve





More information about the Python-list mailing list