On 2009-07-30, Martin P. Hellwig <[email protected]> wrote:
> Michel Claveau - MVP wrote:
>
>>> Python is interpreted
>>
>> No. Python is compiled (--> .pyc)
>> But the term "to compile" is not always unambiguous...
>> And the notion of "compiler" is not attached to Python (the
>> language), but is attached to the implementation.
>
> Well the pyc, which I thought was the Python bytecode,
It is, but that's just one particular implementation you're
talking about (though by far the most widely used one).
> is then interpreted by the VM.
Yup. Just like .exe files are interpreted by the microcode in
the processor that implements the IA32 VM. It would be quite
possible to put a Python VM into hardware. Alternatevly, you
can compiler Python into Java bytecode and run that "directly"
on hardware.
--
Grant Edwards grante Yow! It don't mean a
at THING if you ain't got
visi.com that SWING!!
--
http://mail.python.org/mailman/listinfo/python-list