Skip to content

Compiling with Continuations

Spend $50 to get a free DVD!

ISBN-10: 052103311X

ISBN-13: 9780521033114

Edition: 2006

Authors: Andrew W. Appel

List price: $99.99
Shipping box This item qualifies for FREE shipping.
Blue ribbon 30 day, 100% satisfaction guarantee!
Buy eBooks
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

This book shows how continuation-passing style is used as an intermediate representation 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. Prior knowledge of ML, however, 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 production of practical optimizing compilers for modern languages like ML. All the details of compiling are covered, including the interface to a runtime system and garbage collector.
Customers also bought

Book details

List price: $99.99
Copyright year: 2006
Publisher: Cambridge University Press
Publication date: 2/1/2007
Binding: Paperback
Pages: 272
Size: 6.75" wide x 9.50" long x 0.75" tall
Weight: 0.990
Language: English

Andrew W. Appel is the Eugene Higgins Professor and Chairman of the Department of Computer Science at Princeton University.

Acknowledgments
Overview
Continuation-passing style
Semantics of the CPS
ML-specific optimizations
Conversion into CPS
Optimization of the CPS
Beta-expansion
Hoisting
Common subexpressions
Closure conversion
Register spilling
Space complexity
The abstract machine
Machine code generation
Performance evaluation
The runtime system
Parallel programming
Future directions