Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
34 used & new from $35.00

Have one to sell? Sell yours here
 
   
Modern Compiler Implementation in C
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Modern Compiler Implementation in C (Paperback)

by Andrew W. Appel (Author), Maia Ginsburg (Contributor) "This book describes techniques, data structures, and algorithms for translating programming languages into executable code..." (more)
Key Phrases: Maximal Munch, I-Fetch Read Unpack, Webster's Dictionary (more...)
2.9 out of 5 stars See all reviews (10 customer reviews)

List Price: $65.00
Price: $55.08 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.92 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
21 new from $49.57 13 used from $35.00
Also Available in: List Price: Our Price: Other Offers:
Hardcover (Rev Exp Su) 18 used & new from $20.00

Frequently Bought Together

Modern Compiler Implementation in C + lex & yacc + Compiler Construction: Principles and Practice
Price For All Three: $194.81

Show availability and shipping details

  • This item: Modern Compiler Implementation in C by Andrew W. Appel

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • lex & yacc by Doug Brown

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Compiler Construction: Principles and Practice by Kenneth C. Louden

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Compiler Construction: Principles and Practice

Compiler Construction: Principles and Practice

by Kenneth C. Louden
4.5 out of 5 stars (16)  $119.96
Compilers: Principles, Techniques, and Tools (2nd Edition)

Compilers: Principles, Techniques, and Tools (2nd Edition)

by Alfred V. Aho
4.1 out of 5 stars (68)  $89.15
Advanced Compiler Design and Implementation

Advanced Compiler Design and Implementation

by Steven Muchnick
4.2 out of 5 stars (18)  $100.00
Modern Compiler Implementation in Java

Modern Compiler Implementation in Java

by Andrew W. Appel
2.4 out of 5 stars (23)  $67.64
The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition (2nd Edition)

The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition (2nd Edition)

by Frederick P. Brooks
4.5 out of 5 stars (136)  $31.78
Explore similar items

Editorial Reviews

Product Description
This new, expanded textbook describes all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as functional and object-oriented languages, that are missing from most books. In addition, more advanced chapters are now included so that it can be used as the basis for a two-semester or graduate course. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, which includes the advanced chapters, covers the compilation of object-oriented and functional languages, garbage collection, loop optimizations, SSA form, loop scheduling, and optimization for cache-memory hierarchies.

Book Description
This new, expanded textbook describes all phases of a modern compiler, including current techniques in code generation and register allocation, for imperative, functional and object-oriented languages. In a concise and practical way the author describes the fundamentals of compilation and then moves on to advanced topics such as SSA form, loop scheduling, and optimization for cache-memory hierarchies. A unique feature is a compiler implementation project in C, including front-end and 'high-tech' back-end phases.

Product Details

  • Paperback: 556 pages
  • Publisher: Cambridge University Press (August 21, 2008)
  • Language: English
  • ISBN-10: 0521607655
  • ISBN-13: 978-0521607650
  • Product Dimensions: 9.6 x 7.4 x 1.5 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 2.9 out of 5 stars See all reviews (10 customer reviews)
  • Amazon.com Sales Rank: #430,875 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #37 in  Books > Computers & Internet > Programming > Languages & Tools > Compilers

Inside This Book (learn more)
First Sentence:
This book describes techniques, data structures, and algorithms for translating programming languages into executable code. Read the first page
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Maximal Munch, I-Fetch Read Unpack, Webster's Dictionary, Round Write, Perform Algorithm, Analyze Algorithm, Tiger Language Reference Manual
New!
Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


What Do Customers Ultimately Buy After Viewing This Item?

Modern Compiler Implementation in C
53% buy the item featured on this page:
Modern Compiler Implementation in C 2.9 out of 5 stars (10)
$55.08
Compilers: Principles, Techniques, and Tools (2nd Edition)
17% buy
Compilers: Principles, Techniques, and Tools (2nd Edition) 4.1 out of 5 stars (68)
$89.15
Programming Language Pragmatics, Third Edition
10% buy
Programming Language Pragmatics, Third Edition 4.8 out of 5 stars (22)
$62.79
Engineering a Compiler
10% buy
Engineering a Compiler 3.6 out of 5 stars (8)
$64.70

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

10 Reviews
5 star:
 (2)
4 star:
 (3)
3 star:    (0)
2 star:
 (2)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
2.9 out of 5 stars (10 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
19 of 20 people found the following review helpful:
5.0 out of 5 stars Excellent theory book, September 8, 1999
By A Customer
This is a very good book on modern compilers. It covers some crucial tochniques that the Dragon Book does not, such as pipelining, handling superscalar and RISC processors, tail recursion, polymorphism and OO languages, etc. These things were unknown when the Dragon Book was written. Its treatment of compiler basics is not as good as that in the Dragon Book, but the additional material makes it about as valuable. NOTE: This is a theory book, not a cookbook. You are not buying code, you are buying a reference you can use when writing code. You will still have to do your own thinking and your own coding.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 15 people found the following review helpful:
4.0 out of 5 stars Excellent concept, fair execution, April 10, 2001
I chose this textbook for a five-student independent study course. The book's concept is great: Define a substantial language, and describe a compiler for it over the semester, having the students write the interesting bits. I was excited to read this text and do the project with my students.

The book (at least the first half) stands or falls on the project. The project itself is outstanding - there are several interesting tidbits. It's probably too large for a three-credit course at most institutions - I had to pare it down by giving additional pieces to my students.

Unfortunately, the project destroys the book. The book devotes large portions of the first half to trying to explain it. Explanations are only marginally coherent. To make sense, the project desperately needs detailed, low-level documentation, listing each function of each module and what it does. Additionally, it would work better if there were a clearer distinction of where the theory ends and the project begins.

The program is itself well-structured on the high level. Within functions, they need to format code properly. They do some interesting things with trying to do functional programming within C - a controversial move, but not one that I mind. The definite impression I get is that the publishers demanded a C version against Appel's will. I haven't read the Java or ML versions, but I bet the code is better (especially ML).

Outside the project, I found the book strong. The algorithms are well-presented, with lots of outstanding examples. (My students found them confusing; I attribute that to the material's inherent difficulty, not the writing.) It does a thorough job, but not overly thorough. Some of the later chapters on advanced topics I've found slightly less complete - but they're advanced topics, after all.

I'd recommend it over the dragon book; but it's a close call. But this could be so much better so easily... Appel just needs to flesh out the project, and he'd have a truly great book.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars This is actually a decent book, March 11, 2004
By J. Buchanan (Australia) - See all my reviews
Despite what others have said in their reviews, this is not a bad book at all for those who *already have some basic exposure to compiler theory.*

This book is weak on types of grammars and the differences between LL, LR and LALR parsers for instance, and could include a hell of a lot more material on using parser generators. BUT it includes a lot of readable material on more advanced topics like code generation and garbage collection. It covers the design and implementation of object oriented languages, which is a pleasant suprise.

Before tackling this book, I recommend starting with something like "Crafting a Compiler with C" by Fischer and LeBlanc. Before using this book, you must have a masterful command of the C language (in my opinion the C code is unusually ugly in this book, too).

I don't care too much for the ongoing project of the Tiger language and compiler, but it's better than nothing. (The author may as well have compiled Pascal instead).

I've covered a fair amount work and even then had to read this book carefully. I've tackled books like "Compilers: Principles, Techniques and Tools" (the so called Dragon Book) and "Crafting a Compiler with C," amongst dozens of others. This is not a light read, and it is quite dense. But it's straight to the point, and covers material other compiler construction books don't.

One of the high points of this book is that it won't put you to sleep! It really IS readable. Finally, I will emphasise again, this is not a beginner's text.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

4.0 out of 5 stars Paperback Re-Issue
Thought that this might be a second edition of this book (there is a second edition of Appel's Java book). Read more
Published on September 19, 2006 by Jay Yamada

1.0 out of 5 stars this is a java book in disguise
I bought this book, much to my chagrin, because I had looked at the Java one which FYI is a verbatim copy of this one. Read more
Published on September 29, 2001

2.0 out of 5 stars The Project kills this book
The book is fairly good. Covers the compiler theory pretty well, and includes a good coverage of advanced topics at the end. Read more
Published on May 23, 2001 by Oscar Bonilla

1.0 out of 5 stars Spend hours trying to understand this book!
This book is really bad. We used it at Tech for one semester and the next they switched to another book. It is very complex and difficult to read. Read more
Published on May 25, 2000

2.0 out of 5 stars a good theory...
Not so bad, not so good... it has good topics, but there are not implementation of how to build it, the small number of sample have some unique (rare) style... Read more
Published on August 9, 1999 by Luis Ortega

4.0 out of 5 stars Informative.
The author of this book addressed all the issues that I needed to resolve. It is not a "spoon feed" approach, however there is enough examples to explain the authors... Read more
Published on May 7, 1999

1.0 out of 5 stars I'm speechless
If you already know how a compiler operates, this book isn't for you. That's basically all this book covers, no emphasis on actual code. Read more
Published on March 29, 1999

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Transform Your Bathroom for Less

Home Improvement Value Center
Save up to 50% on sinks, faucets, showerheads, and toilet seats in the Home Improvement Value Center. Make your bathroom transformation a reality today.

Shop the Value Center

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

The Selection Is Electric

Shop the Lighting & Electrical Store
From light bulbs to switches, outlets, and wall plates, find what you need in the Lighting & Electrical Store.

Shop Lighting & Electrical

 

Find Tools to Transform Your Home

Shop for Home Remodeling Products
From the kitchen to the bathroom, you can fulfill all your home renovation needs in the Home Improvement Store.

Shop now

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates