Re: Book recommendation required

Jeff Kenton <>
11 Feb 2005 22:21:36 -0500

          From comp.compilers

Related articles
Book recommendation required (2005-02-06)
Re: Book recommendation required (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2005-02-06)
Re: Book recommendation required (Maarten D. de Jong) (2005-02-11)
Re: Book recommendation required (2005-02-11)
Re: Book recommendation required (Jeff Kenton) (2005-02-11)
Re: Book recommendation required (Randy) (2005-02-11)
Re: Book recommendation required (2005-02-11)
| List of all articles for this month |

From: Jeff Kenton <>
Newsgroups: comp.compilers
Date: 11 Feb 2005 22:21:36 -0500
Organization: Compilers Central
References: 05-02-034
Keywords: books
Posted-Date: 11 Feb 2005 22:21:36 EST

Maarten D, de Jong wrote:
> I am looking for a book on compiler design.

Some suggestions for reasonably recent books:

1. Steve Muchnick: Advanced Compiler Design and Implementation
(mentioned by the moderator) -- good information on optimization, but
the algorithms and presentation were too complicated for my taste.

2. Robert Morgan: Building an Optimizing Compiler
also good, but I'd recommend it as a second book. The author tends to
assume that you're already on his wavelength, often starting with what
I consider the middle of a topic, and ending before it seems complete.

3. Keith Cooper & Linda Torczon: Engineering a Compiler
to me, the best current compiler book. Very clear and very thorough.
I especially liked his algorithm for calculating dominance, which is
completely intuitive and trivial to describe and implement. The
corresponding algorithm in Muchnick's book confused me completely.

4. Randy Allen & Ken Kennedy: Optimizing Compilers for Modern Architectures
only get this one if you need to do exptensive optimization of loops
in scientific Fortran. If that's what you need, it's got 700 pages in
exquisite detail.

For one book, Cooper & Torczon is my recommendation.


Post a followup to this message

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