Python compiler?
s713221 at student.gu.edu.au
s713221 at student.gu.edu.au
Thu Apr 19 06:19:57 EDT 2001
Courageous wrote:
>
> 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//
I'd be more interested in a tool that could convert python code modules
to optimised C++ coded modules.
(Almost no C++ experience speaking here)
Joal Heagney/AncientHart
More information about the Python-list
mailing list