Compiling with Continuations (Softcover)
Compiling with Continuations (Softcover)
Regular price
$59.89 USD
Regular price
Sale price
$59.89 USD
Unit price
/
per
Condition
VERY GOOD: This book is in very good condition, showing only slight signs of use and wear. The covers are straight, the pages clean, and the spine tight.Product Details
From the back cover: "Paperback Re-Issue: The control and data flow of a program can be represented using continuations, a concept from denotational semantics that has practical application in real compilers. This book shows how cointuation-passing style is used as an intermedial representation on which to perform optimizations and program transformations. Continuations can be used to compile most programming languages."The method is illustrated in a compiler for the programming language Standard ML. However, prior knowledge of ML is not necessary, as the author carefully explains each concept as it arises.
"This book shows how concepts from the theory of programming languages can be applied to the production of practical optimizing compilers for modern languages such as ML. All the nitty-gritty details of compiling to really good machine code are covered, including the interface to a run-time system and garbage collector."
BRIEF CONTENTS
- Acknowledgments
- 1 - Overview
- 2 - Continuation-passing style
- 3 - Semantics of the CPS
- 4 - ML-specific optimizations
- 5 - Conversion into CPS
- 6 - Optimization of the CPS
- 7 - Beta expansion
- 8 - Hoisting
- 9 - Common subexpressions
- 10 - Closure conversion
- 11 - Register spilling
- 12 - Space complexity
- 13 - The abstract machine
- 14 - Machine-code generation
- 15 - Performance evaluation
- 16 - The runtime system
- 17 - Parallel programming
- 18 - Future directions
- A - Introduction to ML
- B - Semantics of the CPS
- C - Obtaining Standard ML of New Jersey
- D - Readings
- Bibiography
- Index
Share
PUBLISHER: Cambridge University Press
ISBN-13: 9780521033114
ISBN-10: 052103311X