|Beginner's Question... mihai@A-aod.resnet.ucsb.edu (Mihai Christodorescu) (1997-01-16)|
|Re: Beginner's Question... email@example.com (1997-01-16)|
|Re: Beginner's Question... firstname.lastname@example.org (John Lilley) (1997-01-16)|
|Re: Beginner's Question... email@example.com (Kurt Svensson) (1997-01-17)|
|Re: Beginner's Question... firstname.lastname@example.org (William D Clinger) (1997-01-17)|
|Re: Beginner's Question... email@example.com (John Lilley) (1997-01-19)|
|From:||John Lilley <firstname.lastname@example.org>|
|Date:||16 Jan 1997 20:11:53 -0500|
|Organization:||Nerds for Hire, Inc.|
Mihai Christodorescu wrote:
> I have noticed the discussion comes back almost always to how
> (time-)efficient is the parser (and maybe the rest of the compiling
> steps except for the code generator).
> Is this problem a real problem in compiler theory and compiler making?
It's more a matter of economics than theory. High-level languages are
productivity tools for programmers. They are more productive than
lower-level languages because presumably a given task can be completed
more quickly and with higher quality. To the extent that a compiler
is too slow, the productivity of the tool is diminished because the
time of the modify/compile/debug cycle is lengthened. There are large
projects I have seen that require an all-night build of the system on
an eight-processor UNIX box. If the compiler were merely three times
slower, then the time to build the system would be prohibitive,
because it would have to be run for an entire day, which would
preclude running the full-build on the same computer that the
declopers use, which would mean spending another $200k on a separate
build machine. So yes, speed is important.
Compiler speed is also a technology enabler. When the compile cycle
for a particular language becomes small, then the extra time can be
used to increase the productivity of the compiler, such as by
performing additional static error checks, inter-module dataflow
analysis, additional optimization, etc. Or, once the compile cycle
becomes fast enough, pressure may mount to increase the power and
expressiveness of the language itself, which usually means more work
for the compiler.
Return to the
Search the comp.compilers archives again.