Why not a Python compiler?

Arnaud Delobelle arnodel at googlemail.com
Fri Feb 8 02:16:16 EST 2008


On Feb 7, 11:25 pm, Hrvoje Niksic <hnik... at xemacs.org> wrote:
> Steven D'Aprano <st... at REMOVE-THIS-cybersource.com.au> writes:
> > Be fair -- he's asking what specific features of Python make it
> > hard.  That's a reasonable question.
>
> Indeed.  The best explanation I've seen explained goes something like
> this: imagine a hypothetical Python compiler that achieves native
> compilation by compiling to Common Lisp and using the CL's compiler to
> produce native code.  Upon encountering the expression such as:
>
> a + b
>
> the compiler could do little else except translate it to something
> like:
>
> (python:add a b)
[snip more interesting considerations about compiling python]

Please get back on topic.  This discussion is about parsecs and
wookies now.

--
Arnaud




More information about the Python-list mailing list