merits of Lisp vs Python

greg greg at cosc.canterbury.ac.nz
Mon Dec 11 05:36:21 EST 2006


JShrager at gmail.com wrote:
> compilers are GREATLY facilitated by having a
> macro facility because (at first blush) all you need to do is to
> macro-expand down to something you know how to turn into code.

There's no way you could compile Python to efficient
machine code just by macro expansion. You'd also need
some very heavy-duty type inferencing.

Python is extremely dynamic, even more so than Lisp.
That's why compiling Python is hard, not because it
doesn't have macros.

--
Greg



More information about the Python-list mailing list