Python 3.0 unfit for serious work?
Steven D'Aprano
steve at REMOVEME.cybersource.com.au
Wed Feb 21 03:21:54 EST 2007
On Tue, 20 Feb 2007 21:19:26 -0800, John Nagle wrote:
> Well, something faster really should take over. It's a bit
> embarassing that the main implementation of Python is still a
> pure interpreter. Even Javascript has a JIT compiler now.
> And it's tiny, under 1MB.
Python has a compiler, just like Java. That's where the .pyc files come
from.
You might also notice the built-in function "compile", which compiles text
strings into byte-code and puts it into a code object. The dis module may
also be of interest.
--
Steven D'Aprano
More information about the Python-list
mailing list