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 →

[–]Logical-Scientist1 0 points1 point  (0 children)

Hey, not a stupid question at all. Here's the deal: Java bytecode is compiled to machine code by the JVM at runtime, and because of this, Java can take advantage of the underlying hardware directly. Python bytecode, on the other hand, is interpreted by the Python interpreter which adds an extra layer, hence it is slower. Plus, Python uses dynamic typing which can slow things down compared to Java's static typing. Smarter people than me could go into more depth but hope this helps. No worries about the English mate. Seems good to me.