{"product_id":"engineering-a-compiler-3rd-edition-cooper-torczon-paperback","title":"Engineering a Compiler, 3rd Edition by Keith Cooper \u0026 Linda Torczon (Paperback)","description":"\u003cp\u003e\u003cstrong\u003eEngineering a Compiler, Third Edition, by Keith D. Cooper and Linda Torczon is the Morgan Kaufmann (Elsevier) paperback textbook that teaches how a modern compiler is built, from scanning and parsing through optimization and code generation.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eCooper and Torczon built production compilers before they wrote about them, and it shows. The book pairs the classic front-end theory with the practical questions that come up when you actually generate code: how to represent names and addresses at runtime, what shape the code for an expression or loop should take, and how optimization and register allocation interact. The third edition adds new chapters on semantic elaboration, runtime support, and code shape.\u003c\/p\u003e\n\u003ch2\u003eWhat's included\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eEngineering a Compiler, Third Edition, paperback\u003c\/li\u003e\n\u003cli\u003eNew chapters on semantic elaboration, runtime support for naming and addressability, and code shape\u003c\/li\u003e\n\u003cli\u003eIn-depth coverage of front-end algorithms, optimization, and code generation\u003c\/li\u003e\n\u003cli\u003ePublisher: Morgan Kaufmann, an imprint of Elsevier\u003c\/li\u003e\n\u003cli\u003eISBN-13: 9780128154120\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eWho it's for\u003c\/h2\u003e\n\u003cp\u003eUpper-level undergraduate and graduate students in a compilers course, software engineers working on language tooling, interpreters, or JIT runtimes, and anyone who found the Dragon Book heavy on theory and wants a text closer to how compilers are built today. Prior exposure to data structures and a systems language is assumed.\u003c\/p\u003e\n\u003ch2\u003eWhy this edition\u003c\/h2\u003e\n\u003cp\u003eThe third edition reorganized the middle of the book around how real compilers handle the gap between a parser and a code generator, which earlier editions covered more thinly. It keeps the strong treatment of optimization and code generation that made the book popular as a course text. If your syllabus lists Cooper and Torczon, this is the current edition.\u003c\/p\u003e\n\u003ch2\u003eFrequently asked questions\u003c\/h2\u003e\n\u003ch3\u003eIs Engineering a Compiler better than the Dragon Book?\u003c\/h3\u003e\n\u003cp\u003eThey serve different readers. The Dragon Book is more formal; Engineering a Compiler is more practical and reflects how modern compilers are structured. Many courses use this one.\u003c\/p\u003e\n\u003ch3\u003eDoes the book cover LLVM?\u003c\/h3\u003e\n\u003cp\u003eIt teaches the concepts LLVM implements, such as SSA form and instruction selection, rather than the LLVM API itself.\u003c\/p\u003e\n\u003ch3\u003eIs this the paperback?\u003c\/h3\u003e\n\u003cp\u003eYes. This is the paperback third edition, ISBN 9780128154120.\u003c\/p\u003e\n\u003ch2\u003eDetails\u003c\/h2\u003e\n\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eTitle\u003c\/th\u003e\n\u003ctd\u003eEngineering a Compiler\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eEdition\u003c\/th\u003e\n\u003ctd\u003eThird Edition\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eFormat\u003c\/th\u003e\n\u003ctd\u003ePaperback\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePublisher\u003c\/th\u003e\n\u003ctd\u003eMorgan Kaufmann (Elsevier)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eISBN-13\u003c\/th\u003e\n\u003ctd\u003e9780128154120\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCondition\u003c\/th\u003e\n\u003ctd\u003eNew\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e","brand":"Elsevier","offers":[{"title":"Default Title","offer_id":67971827106101,"sku":null,"price":72.2,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1006\/7410\/9749\/files\/compl.png?v=1793133759","url":"https:\/\/nfpabooks.com\/products\/engineering-a-compiler-3rd-edition-cooper-torczon-paperback","provider":"NFPABooks.com","version":"1.0","type":"link"}