What If Python Replaced Elisp?

Fredrik Lundh effbot at telia.com
Thu Mar 9 18:49:54 EST 2000


Samuel A. Falvo II wrote:
> >umm.  does using an explicit syntax tree turn Lisp
> >into a statically typed language?
>
> No, but I don't see what this has to do with the point I was trying to
make
> either.

then I don't understand your point -- to compile
things efficiently, you need to know what types
your variables have.

in Python, you don't know that, no matter what
tree structure or byte code format you use.

> >Python's interpreter spends very little time decoding
> >the byte codes.  it spends lots of time looking things
> >up in dictionaries, filling in call frames, creating bound
> >method objects, and preparing argument tuples, just
> >to name a few things...
>
> All of which can be eliminated with various optimization options.

really?  please explain.

</F>





More information about the Python-list mailing list