Python interpreter speed

Krishnakant hackingkk at gmail.com
Sun Apr 19 18:19:25 CEST 2009


I don't mean to start a flame war, but a productive debate will be
wonderful.  I have been writing heavy applications in java for a few
years untill recent past.
My experience is that python is not just fast but also zippy and smooth
when it comes to running the applications.

Infact I have a couple of softwares which were re coded in python for
this very reason.  So I would like to know real facts on this arguement.

Let me mention that out of these 2 apps one is a distributed application
with an rpc layer and other is a normal back and front end database
driven software.  both have heavy load on them and do a lot of number
crunching and complex calculations.

happy hacking.
Krishnakant.

On Sun, 2009-04-19 at 18:11 +0200, Ryniek90 wrote:
> Hi.
> 
> Standard Python interpreter's implementation is written in C language. C 
> code while compilation, is compilled into machine code (the fastest 
> code). Python code is compiled into into byte-code which is also some 
> sort of fast machine code. So why Python interpreter is slower than Java 
> VM? Being written in C and compilled into machine code, it should be as 
> fast as C/Asm code.
> What's wrong with that?
> 
> Greets and thank you.
> --
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list