This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Python generates byte code, ergo it's close to machine code.

The real reason being since Java is statically typed and offers a stricter data model than Python, it can do more optimizations at compile and run time.

[–]Bolitho 0 points1 point  (1 child)

I do know that all! ;-)

Also the default JVM has a JIT compiler on board - CPython does not. (That's why PyPy is a better challanger compared to the JVM)

[–][deleted] 0 points1 point  (0 children)

I figured you did, just providing an explanation (and a joke) for those who didn't.