Re: Are these all really true ?

The Lord of Darkness <J.Biddiscombe@rl.ac.uk>
Wed, 27 Sep 1995 12:39:37 GMT

          From comp.compilers

Related articles
[11 earlier articles]
Re: Are these all really true ? graham.matthews@pell.anu.edu.au (1995-09-23)
Re: Are these all really true ? stefan.monnier@epfl.ch (Stefan Monnier) (1995-09-25)
Re: Are these all really true ? baynes@ukpsshp1.serigate.philips.nl (1995-09-25)
Re: Are these all really true ? bill@amber.ssd.hcsc.com (1995-09-25)
Re: Are these all really true ? cdg@nullstone.com (1995-09-26)
Re: Are these all really true ? ludemann@expernet.com (1995-09-27)
Re: Are these all really true ? J.Biddiscombe@rl.ac.uk (The Lord of Darkness) (1995-09-27)
Re: Are these all really true ? ok@cs.rmit.edu.au (1995-09-28)
Re: Are these all really true ? finger@convex.convex.com (1995-09-28)
Re: Are these all really true ? bates@salsv3.boeing.com (Rodney Bates) (1995-10-03)
Re: Are these all really true ? jjc@hplb.hpl.hp.com (Jeremy Carroll) (1995-09-29)
Re: Are these all really true ? stefan.monnier@epfl.ch (Stefan Monnier) (1995-10-02)
Re: Are these all really true ? scott@infoadv.mn.org (Scott Nicol) (1995-10-02)
[6 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: The Lord of Darkness <J.Biddiscombe@rl.ac.uk>
Keywords: interpreter, Lisp
Organization: Rutherford Appleton Laboratory, OXON, UK
References: 95-09-076 95-09-127
Date: Wed, 27 Sep 1995 12:39:37 GMT

> > * Compilation is better than interpretation.
>
> Both are very useful, however interpretation takes more memory and runs
> slower. The advantage is it is easier to develop and make minor changes
> in a language with an interperater. Now if you add up the time saved in
> running the program then I suspect you will find it always best to have a
> compiler (even if an interpreter was used in development).
>


Whilst I would not argue with this...


If you wish to write programs which are self modifying - for example
many Natural Language Processing type programs - especially LISP
or even Mathematica type code then an interpreter can be much easier
to coax into self-modifying, since variables etc can be re-defined
on the fly, this extends to whole program segments or procedures
which may be modified by re-definition at a later date.
Whilst a compiler can do the same by including many different versions of
the same code segment, an interpreter will be able to do it better
(IMO)


John B
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.