Compiling with ContinuationsPaperback
List price $93.98
You save $13.41 14% off
Free delivery worldwide
Dispatched in 4 business days
When will my order arrive?
- Publisher: CAMBRIDGE UNIVERSITY PRESS
- Format: Paperback | 272 pages
- Dimensions: 173mm x 241mm x 18mm | 386g
- Publication date: 12 February 2007
- Publication City/Country: Cambridge
- ISBN 10: 052103311X
- ISBN 13: 9780521033114
- Edition statement: Revised ed.
- Illustrations note: 19 tables
- Sales rank: 562,995
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 continuation-passing style is used as an intermediate representation on which to perform optimisations 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 is the first book to show how concepts from the theory of programming languages can be applied to the producton of practical optimising compilers for modern languages like ML. This book will be essential reading for compiler writers in both industry and academe, as well as for students and researchers in programming language theory.
Other people who viewed this bought:
$62.21 - Save $16.10 20% off - RRP $78.31
$68.74 - Save $9.57 12% off - RRP $78.31
$19.07 - Save $4.41 18% off - RRP $23.48
Other books in this category
$9.18 - Save $1.00 (9%) - RRP $10.18
$30.74 - Save $13.11 29% off - RRP $43.85
$23.39 - Save $11.86 33% off - RRP $35.25
$30.14 - Save $7.44 19% off - RRP $37.58
$38.55 - Save $11.57 23% off - RRP $50.12
"I recommend the book to language designers and implementors specializing in the functional paradigm." F.G. Pagan, Computing Reviews
Table of contents
Acknowledgements; 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; Appendices; Bibliography; Index.