Skip to main content

Engineering a Compiler

  • 3rd book:metaData.edition - August 20, 2022
  • book:metaData.latestEdition
  • common:contributors.authors Keith D. Cooper, Linda Torczon
  • publicationLanguages:language

*Textbook and Academic Authors Association (TAA) Textbook Excellence Award Winner, 2024*Engineering a Compiler, Third Edition covers the latest developments in compiler technolo… seeMoreDescription

Early spring sale

Nurture your knowledge

Grow your expertise with up to 25% off trusted resources.

promoMetaData.description

*Textbook and Academic Authors Association (TAA) Textbook Excellence Award Winner, 2024*

Engineering a Compiler, Third Edition covers the latest developments in compiler technology, with new chapters focusing on semantic elaboration (the problems that arise in generating code from the ad-hoc syntax-directed translation schemes in a generated parser), on runtime support for naming and addressability, and on code shape for expressions, assignments and control-structures. Leading educators and researchers, Keith Cooper and Linda Torczon, have revised this popular text with a fresh approach to learning important techniques for constructing a modern compiler, combining basic principles with pragmatic insights from their own experience building state-of-the-art compilers.

promoMetaData.keyFeatures

  • Presents in-depth treatments of algorithms and techniques used in the front end of a modern compiler
  • Pays particular attention to code optimization and code generation, both primary areas of recent research and development
  • Focuses on how compilers (and interpreters) implement abstraction, tying the underlying knowledge to students’ own experience and to the languages in which they have been taught to program
  • Covers bottom-up methods of register allocation at the local scope

promoMetaData.readership

Primarily graduate, some undergraduate students in computer science; professional compiler writers, system software developers, architects and computer system designers

promoMetaData.tableOfContents

1. Overview of Compilation

2. Scanners

3. Parsers

4. Intermediate Representations

5. Syntax-Driven Translation

6. Implementing Procedures

7. Code Shape

8. Introduction to Optimization

9. Data-Flow Analysis

10. Scalar Optimization

11. Instruction Selection

12. Instruction Scheduling

13. Register Allocation

14. Runtime Optimization

promoMetaData.productDetails

  • productDetails.edition: 3
  • book:metaData.latestEdition
  • productDetails.published: October 2, 2022
  • publicationLanguages:languageTitle: publicationLanguages:en

promoMetaData.aboutTheAuthors

KC

Keith D. Cooper

Dr. Cooper Ph.D., Professor, Dept. of Computer Science at Rice University, is the leader of the Massively Scalar Compiler Project at Rice, which investigates issues relating to optimization and code generation for modern machines. He is also a member of the Center for High Performance Software Research, the Computer and Information Technology Institute, and the Center for Multimedia Communication -- all at Rice. He teaches courses in Compiler Construction at the undergraduate and graduate level.
promoMetaData.affiliationsAndExpertise
Department of Computer Science, Rice University, Houston, Texas, USA

LT

Linda Torczon

Linda Torczon is a principal investigator on the Massively Scalar Compiler Project at Rice University, and the Grid Application Development Software Project sponsored by the next Generation Software program of the National Science Foundation. She also serves as the executive director of HiPerSoft and of the Los Alamos Computer Science Institute. Her research interests include code generation, interprocedural dataflow analysis and optimization, and programming environments.
promoMetaData.affiliationsAndExpertise
Principal Investigator on the Massively Scalar Compiler Project, Rice University, Houston, Texas, USA

common:scienceDirect.bookHeader