Looking for specific pages from Muchnick's book
Vladimir N. Makarov
vmakarov@redhat.com
Fri Mar 9 13:35:00 GMT 2007
jimmy wrote:
> Steven Bosscher wrote:
>
>> Hi,
>>
>> I found this old patch
>> (http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01669.html) that refers
>> to pages 202-214 of Muchnick's "Advanced Compiler Design and
>> Implementation" book. That book still is not in my own compiler books
>> collection because of its price.
>
>
> Since you've mentioned it, could you also suggest a few books worth
> buying (for the benefit of the not-so-compiler-savvy-but-want-to-be
> :). I think it would be very much appreciated!
>
This is my personal point of view about some not too old books about
compilers which I read and believe to worth to look at if you are
interested in compilers. Please, I don't want to argue if somebody
is not agree with me.
o Muchnik book is a fat one. Muchnick's book is rather encyclopedia
of optimizations and can be considered as collection of articles with
many details (sometimes too many). But some themes (like RA and
scheduling) are described not deep.
o Robert Morgan. Building an Optimizing compiler. Although the book
volume is small, this is not an appetizer. This is practically
description of Morgan's integral approach for building optimizing
compilers. The book contains very detail algorithms of all passes of
the proposed compiler back-end. A very interesting book to read about
RA but his proposed complicated approach (combined global/local/FAT
RA) is doubtful. I've tried it and found not working well for gcc.
Scheduling and software pipelining description is weak too.
o Cooper and Torczon. Engineering a compiler. It is close to their
course in Rice University. A good book to start study compiler from
parsing to code generation and basic optimizations. But if you are
familiar with the compilers, you probably don't find interesting
thoughts and approaches.
o Appel. Modern Compiler implementation in C/Java/ML. Another good
book to start to study compilers from parser to code generation and
basic optimizations. I especially like the version in ML (Modern
compiler implementation in ML).
o Aho/Lam/Sethi/Ulman. Compilers: Principles, Techniques, and
Tools. 2nd edition. Personally I don't like it because it is based on
outdated (although classical) book. I attached a review of this book
which I wrote more than year ago (when the book was not ready).
o Allen and Kennedy. Optimizing compilers for modern architectures.
It is book to study more advanced (not basic) optimizations like
dependence analysis, loop optimizations, inter-procedural
optimizations.
o I am waiting for Fischer's book (crafting compiler) which will be
published soon. I like his lectures but I am afraid using Java for
this book can hurt the book.
If you don't want to be compiler savvy but want to understand the
compiler, I'd recommend Appel's, Cooper's, Morgan's book in the same
priority.
There are a lot of other books about compilers but some of them are
too specialized or too trivial.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Dragon-Book-Review
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070309/f61b86eb/attachment.ksh>
More information about the Gcc
mailing list