Re: Fast code vs. fast compile

salomon@silver.cs.umanitoba.ca (Daniel J. Salomon)
19 Jan 1997 21:53:27 -0500

          From comp.compilers

Related articles
Beginner's Question... mihai@A-aod.resnet.ucsb.edu (Mihai Christodorescu) (1997-01-16)
Fast code vs. fast compile dennis@netcom.com (1997-01-16)
Re: Fast code vs. fast compile salomon@silver.cs.umanitoba.ca (1997-01-19)
Re: Fast code vs. fast compile darius@phidani.be (Darius Blasband) (1997-01-22)
Re: Fast code vs. fast compile jlilley@empathy.com (John Lilley) (1997-01-22)
Re: Fast code vs. fast compile mwolfe@dat.cse.ogi.edu (1997-01-22)
Re: Fast code vs. fast compile mikey@ontek.com (1997-01-22)
Re: Fast code vs. fast compile conway@cs.mu.oz.au (1997-01-22)
Re: Fast code vs. fast compile darius@phidani.be (Darius Blasband) (1997-01-25)
[2 later articles]
| List of all articles for this month |
From: salomon@silver.cs.umanitoba.ca (Daniel J. Salomon)
Newsgroups: comp.compilers
Date: 19 Jan 1997 21:53:27 -0500
Organization: Computer Science, University of Manitoba, Winnipeg, Canada
References: 97-01-122 97-01-137
Keywords: performance

Dennis Yelle <dennis@netcom.com> wrote:
|> As a compiler user, I am (almost) always more concerned about fast
|> code rather than fast compilation.
|> ...
|> [Perhaps you don't work on very large programs. A few years back when I
|> was recompiling a 600,000 line C program on three platforms every night,
|> I would have been extremely pleased to have a faster compiler available
|> than GCC. -John]


Actually the two speeds, compilation versus execution, are sometimes
related. Often the compiler for a language is eventually written in
that language itself. For instance, it is common for C compilers to
be written in C. So if a compiler writer spends a lot of effort
generating optimized code, his efforts will speed up his own compiler
too. So the question becomes: will the extra time spent on
optimization be offset by the time save due to optimization. The
answer affects both the original compiler writer, and the programmers
that use the resulting compiler to write more compilers.


--
Daniel J. Salomon -- salomon@cs.UManitoba.CA
              Dept. of Computer Science / University of Manitoba
              Winnipeg, Manitoba, Canada R3T 2N2 / (204) 474-8687
--


Post a followup to this message

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