Python compiler?

Gerrit Holl gerrit.holl at pobox.com
Tue Jan 25 10:32:34 EST 2000


Tim Peters wrote on 948664528:
> [J Dubal]
> > Does [Python] have a compiler for Linux and/or windows that can
> > produce native executables?
> 
> [Gerrit Holl]
> > Yes, it has one. It's included in the Python distribution,
> > Tools/freeze.  It's called freeze, and with it, you won't
> > need any Python interpreter.
> 
> Just to prevent any possible misunderstanding, freeze works by sticking a
> copy of the interpreter into the executable.

Ah, so *that's* why it's so big!

> This is probably not what J
> Dubal had in mind, but that's life.  A Python VM is needed to execute Python
> bytecodes just as a Java VM is needed to execute Java bytecodes, and that's
> what "the interpreter" is.

But isn't it possible to write a *compiler* for Python?

> the-natives-are-restless-tonight-ly y'rs  - tim

The natives?
Native Pythoneers?

did-I-already-announce-python.nl.linux.org/gemeenschap/drukste.html?-ly

-- 
Please correct any bad English you encounter in my email message!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----




More information about the Python-list mailing list