Re: Intrinsicaly fast/slow languages (WAS: Unsafe Optimizations)

holub@violet.Berkeley.EDU ()
Wed, 20 Jun 90 04:00:52 GMT

          From comp.compilers

Related articles
Re: Intrinsicaly fast/slow languages (WAS: Unsafe Optimizations) holub@violet.Berkeley.EDU (1990-06-20)
Re: Intrinsicaly fast/slow languages (WAS: Unsafe Optimizations) pardo@june.cs.washington.edu (1990-06-21)
| List of all articles for this month |
Newsgroups: comp.compilers
From: holub@violet.Berkeley.EDU ()
Followup-To: holub@violet.berkeley.edu
References: <1990Jun12.163959.2593@esegue.segue.boston.ma.us> <1990Jun14.152612.2374@esegue.segue.boston.ma.us> <1990Jun15.033356.2061@esegue.segue.boston.ma.us> <1990Jun15.172211.3257@esegue.segue.boston.ma.us>
Date: Wed, 20 Jun 90 04:00:52 GMT
Organization: University of California, Berkeley
Keywords: compiler design, C, unsafe optimizations

In article <1990Jun15.172211.3257@esegue.segue.boston.ma.us>
pardo@june.cs.washington.edu (David Keppel) writes:


> >All LISP programs are not compilable since some are self-modifying
>
> ...I can write an equivalent program in FORTRAN, and that the FORTRAN
> program can be compiled statically. The FORTRAN program will, of course,
> have all of the ``hidden'' LISP list operations...


I agree with most everything you say, but the original point was intrinsic
efficiency. You can always be the compiler yourself, and translate a LISP
program to FORTRAN by hand, but as you say, all the original overhead will
still be there---it's just more obvious. The real question is whether you'd
be better off writing a good FORTRAN program to begin with rather than
a bad LISP program. [Real programmers can write LISP in any language :-)].


-Allen Holub
  holub@violet.berkeley.edu
--


Post a followup to this message

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