Python's Performance

bruno modulix onurb at xiludom.gro
Wed Oct 12 04:33:21 EDT 2005


Donn Cave wrote:
> Quoth "Fredrik Lundh" <fredrik at pythonware.com>:
> | Alex Stapleton wrote
> |
> | > Except it is interpreted.
> |
> | except that it isn't.  Python source code is compiled to byte code, which
> | is then executed by a virtual machine.  if the byte code for a module is up
> | to date, the Python runtime doesn't even look at the source code.
> 
> Fair to say that byte code is interpreted?  Seems to require an
> application we commonly call an interpreter.

If so, Java is interpreted too. The only difference between Java and
Python here is that Python is smart enough to call the compiler by itself.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list