why python is slower than java?

Bryan belred1 at yahoo.com
Fri Nov 5 01:55:22 EST 2004


Maurice LING wrote:
> This may be a dumb thing to ask, but besides the penalty for dynamic 
> typing, is there any other real reasons that Python is slower than Java?
> 
> maurice

at work, we use java and python.  we have projects using swing and others using wxpython.  we have applications that do 
intensive io and others that do intensive cpu. we have not found that python is slower than java.   in fact, when it 
comes to gui's, our swing apps take "forever" to startup and when when garbage collector starts, the whole app just 
freezes for about 15 seconds.  our wxpython apps, start right up and "feel" faster and snappier.  can you show an 
example of where python's "slow" speed as compared to java's "fast" speed has negatively impacted your application or 
has been noticable in any way?  i know this is a trolling question you have posted, but i'm actually very interested 
knowing why you have said this.

thanks,

bryan



More information about the Python-list mailing list