interpreter vs. compiled

Bob Martin bob.martin at
Thu Jul 31 10:46:52 CEST 2008

in 76135 20080731 090911 Dennis Lee Bieber <wlfraed at> wrote:
>On Thu, 31 Jul 2008 06:17:59 GMT, Tim Roberts <timr at> declaimed
>the following in comp.lang.python:
>> And again, I never said that it did.  CPython is an interpreter.  the
>> user's code is never translated into machine language.
>Using that definition, the UCSD P-code Pascal and Java are also not
>"compilers" -- all three create files containing instructions for a
>non-hardware virtual machine.
>The only difference between Python, UCSD Pascal, and Java is that
>Python foregoes the explicit "compiler" pass.
>BASIC (classical microcomputer implementations -- like the one M$
>supplied for TRS-80s) is an interpreter -- the pre-scan of the source
>merely translated BASIC keywords into a byte index, not into opcodes for
>any virtual machine.

You are confusing languages with implementations, as I pointed out earlier.
Java is a language.  
I have used at least 2 Java compilers, ie they compiled Java source to native
machine language.

More information about the Python-list mailing list