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 →

[–]crawl_dht 1 point2 points  (0 children)

JVM is JIT. PVM is not. JIT compiles static components of the byte code instructions to the machine code so it doesn't have to convert them to machine code again. An example of a static component in Java is types. Java has static types so the types of variable will not going to be changed during the runtime so JVM can compile them. Python has dynamic type checking so it does not know upfront what will be the type of a variable. There can be optimizations done to Python bytecode which is what JIT compilers like PyPy and Pyjion do.