Why Python is not both an interpreter and a compiler?

eric esj at harvee.org
Tue Sep 1 19:09:49 CEST 2015



On Tue, Sep 1, 2015 at 12:20 PM, Marko Rauhamaa <marko at pacujo.net> 
wrote:
> Steven D'Aprano <steve at pearwood.info>:
> 
>>  I believe that Marko is wrong. It is not so easy to compile Python 
>> to
>>  machine language for real machines. That's why the compiler targets 
>> a
>>  virtual machine instead.
> 
> Somehow Guile manages it even though Scheme is at least as dynamic a
> language as Python.

I'm wondering if any of the VM lessons learned with forth environments 
would help?

https://en.wikipedia.org/wiki/Threaded_code




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150901/8cb77287/attachment.html>


More information about the Python-list mailing list