Hardcover: 790 pages
Publisher: Morgan Kaufmann; 1 edition (October 10, 2001)
Language: English
ISBN-10: 1558602860
ISBN-13: 978-1558602861
Product Dimensions: 7.7 x 1.7 x 9.6 inches
Shipping Weight: 3.3 pounds (View shipping rates and policies)
Average Customer Review: 4.0 out of 5 stars See all reviews (8 customer reviews)
Best Sellers Rank: #1,424,838 in Books (See Top 100 in Books) #91 in Books > Computers & Technology > Programming > Languages & Tools > Compiler Design #277 in Books > Computers & Technology > Programming > Languages & Tools > Compilers #665 in Books > Computers & Technology > Hardware & DIY > Design & Architecture
Allen and Kennedy (A&K) haven't written your first compiler book. There's nothing about syntax analysis, code generation, instruction scheduling, or intermediate representations. You already know all that part, or you won't get very far in this book. Once you have the basics down, A&K is an irreplaceable reference.It centers heavily on Fortran - even today, a mainstay of scientific computing and an active area of language development. Today, just as 50 years ago, the language's straightforward structure makes detailed behavioral analysis relatively easy. That's especially true in handling the array computations that soak up so many dozens (as of this writing) of CPU-hours per second on todays largest machines. There's far too much to summarize here, but A&K cover a huge range of processor features, including caches, multiple ALUs, vector units, chaining, and more. C code gets some attention as well, much needed because of the cultural weirdness around array handling in C. In every case, the focus is on the real-world kernels that need the help and on explicit ways of identifying and manipulating those code structures. As a result, the authors disregard the unreal situations that sometimes arise, e.g. in "while (--n) *a++ = *b++ * *c++;"Yes, the arrays pointed to by a, b, and c can overlap. But the pointer a can also point to a, b, c, or n, somewhere in its range - and likewise for pointers b and c, or all three. There is essentially no limit to how bad this can get, e.g when n is an alias for a, b, or c. Yes these are rare situations and generally errors - but I've seen on-the-fly code generation in production environments, so even the A&K example isn't as bad as it gets.
Optimizing Compilers for Modern Architectures: A Dependence-based Approach Writing Compilers and Interpreters: A Software Engineering Approach Algorithms, Languages, Automata, And Compilers: A Practical Approach UNIX Systems for Modern Architectures: Symmetric Multiprocessing and Caching for Kernel Programmers Handbook of Biblical Hebrew: An Inductive Approach Based on the Hebrew Text of Esther (An Inductive Approach Based on the Hebrew Text of Esther, 2 Vols. in 1) Natural Relief for Your Child's Asthma: A Guide to Controlling Symptoms & Reducing Your Child's Dependence on Drugs How to Help an Alcoholic: Coping with Alcoholism and Substance Abuse (Help an Alcoholic Spouse, Alcoholic Family Member, Friend or Addict) (Coping with ... Husband, Dependence, Domestic Abuse) The Antidepressant Solution: A Step-by-Step Guide to Safely Overcoming Antidepressant Withdrawal, Dependence, and "Addiction" Methadone Treatment for Opioid Dependence (Johns Hopkins Paperback) Chemical Dependence: Diagnosis, Treatment, and Prevention Compilers: Principles, Techniques, and Tools Compilers: Principles, Techniques, and Tools (2nd Edition) Writing Compilers and Interpreters High-Performance Compilers for Parallel Computing Compilers: Principles and Practice Home Based Business Escape Plan: How To Make $10,000 Per Month With Your Own Part-Time, Online Lifestyle Business: Home Based Business Ideas (Home Based Business Opportunities) Internet Routing Architectures (2nd Edition) DSP Processor Fundamentals: Architectures and Features Business Process Management: Concepts, Languages, Architectures Web Services, Service-Oriented Architectures, and Cloud Computing: The Savvy Manager's Guide (The Savvy Manager's Guides)