Python compiler?
Courageous
jkraska1 at san.rr.com
Tue Apr 17 19:18:36 EDT 2001
On Tue, 17 Apr 2001 22:35:56 GMT, "news-server.columbus.rr.com"
<antediluvianistic at columbus.rr.com> wrote:
>Has everyone contemplated upon creating a python 'compiler', which can
>produce a self-contained binary executable? (for when speed is an absolute
>neccessity) ..or does such a thing exist already? I'd love to give game
>development in Photon a run, and feel that it's simply not fast enough to
>perform some operations.
Yes and no. For what you are asking for, a python-to-native-machine-code
compiler, there is nothing and won't likely be anything for quite some time.
As it turns out, Python is dynamic enough that fully compiling it is a non-
trivial task surely worthy of many PhD dissertations.
There are tools, however, which will produce self-contained pthon .exes.
These essentially bundle the program source code (.py files) together
with the python interpreter and the various libraries into a single .exe.
C//
More information about the Python-list
mailing list