Re: Where comes the myth that Lisp is interpreted?!
- From: "Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx>
- Date: 14 Aug 2006 02:02:23 -0700
Pierre THIERRY wrote:
I've read `The Roots of Lisp' yesterday, and it teased me so that I
searched the original paper from McCarthy. So I'm now in the middle of
`Recursive Functions of Symbolic Expressions and their Computation by
Machine (Part I)', and here is the fifth feature of the APPLY program
used on the IBM 704:
``The programmer may have selected S-functions compiled into machine
language programs put into the core memory. Values of compiled
functions are computed about 60 times as fast as they would if
interpreted. Compilation is fast enough so that it is not necessary to
punch compiled program for future use.''
So, if at the very beginning, there has been a compiler for Lisp, that
would enable a so dramatically big improvement in evaluation time, and
that would work fast enough that isn't necessary to keep the compiled
version of a program (which is not the case for, say, even the smallest
C/C++ programs nowadays), where the hell comes the myth that Lisp is
slow because it is interpreted?!
I think in the old days the myth came because other Lisps outside of
the MIT line were sometimes interpreted.
The reason today seems to be that other powerful languages are
interpreted. That is, Perl, Python, Ruby and many functional languages
are commonly interpreted. People put Lisp into a category with these.
Emacs Lisp may also have an influence.
It also seems that many programmers can't imagine how such a language
could be compiled, so they think it must not be.
Given the popularity of Python etc today I can't see the myth going
away.
.
- Follow-Ups:
- Re: Where comes the myth that Lisp is interpreted?!
- From: George Neuner
- Re: Where comes the myth that Lisp is interpreted?!
- References:
- Where comes the myth that Lisp is interpreted?!
- From: Pierre THIERRY
- Where comes the myth that Lisp is interpreted?!
- Prev by Date: Re: Where comes the myth that Lisp is interpreted?!
- Next by Date: Re: Comparison of Lispworks and Allegro CL
- Previous by thread: Re: Where comes the myth that Lisp is interpreted?!
- Next by thread: Re: Where comes the myth that Lisp is interpreted?!
- Index(es):
Relevant Pages
|