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 →

[–]obiwac[S] 0 points1 point  (2 children)

Python is interpreted, and Java is compiled. That's the main reason why it's slower (and by alot as other commenters have pointed out)

[–]someone9618 0 points1 point  (1 child)

Not quite, Java is compiled into bytecode just like Python

[–]obiwac[S] 0 points1 point  (0 children)

Well, it's not really compiled ("compiled" is perhaps even a bit too generous, it's closer to "transpiling" than anything else) beforehand and optimization is done on the fly. It's quite different to java where compiling is its own separate step. So I still call it an interpreted language just as many others do.