back

by jasonpeacock·10y ago·view on hn ↗
Java and Python are apples and oranges - one is a compiled language, the other is interpreted. Better to look at other interpreted languages like Ruby & Perl...and they have the same issue. It's a side-effect of using an interpreted language, but it also allows such languages to be self-modifying which can be very powerful when you need it.
2 comments
Python and Java are both compiled to bytecode and both interpreted as bytecode. It has absolutely nothing to do with compilers.
Perl actually has a 'compilation' phase where some types of syntax errors are actually detected before it goes executing the code.