Skip to content
Advertisement

about Speed: Python VS Java

Just curious about speed of Python and Java.. Intuitively, Python should be much slower than java, but I want to know more…Could anybody give me more? or introduce some nice post to read?

Advertisement

Answer

The current standard implementation of Python (CPython) is slower than Java because the standard CPython implementation doesn’t have a powerful JIT compiler. Yet.

There have been several projects with the aim of producing a faster implement of Python:

From what I’ve tried some of these projects can give very good speed ups for specific algorithms, but you still won’t get it to run as fast as Java for typical application code. Most of the current effort seems now to be directed towards PyPy.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement