{"product_id":"compiling-with-continuations-paperback-9780521033114","title":"Compiling with Continuations (Paperback \/ softback) 9780521033114","description":"\u003cfont face=\"Georgia\"\u003e\r\n\u003cp\u003e\u003cfont size=\"6\"\u003eCompiling with Continuations\u003c\/font\u003e\u003cbr\u003e\r\n\r\n\r\n\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eThis book shows how continuation-passing style is used as an intermediate representation on which to perform optimisations and program transformations.\u003c\/em\u003e\u003c\/p\u003e\r\n\r\n\r\n\u003cp\u003e\u003cfont size=\"4\"\u003eAndrew W. Appel (Author)\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003e9780521033114, Cambridge University Press\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003ePaperback \/ softback, published 1 February 2007\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003e272 pages\u003cbr\u003e24.4 x 17 x 1.4 cm, 0.44 kg\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\r\n\r\n\u003cp align=\"justify\"\u003e\u003cem\u003e\u003cfont size=\"3\"\u003e\"I recommend the book to language designers and implementors specializing in the functional paradigm.\"  F.G. Pagan, Computing Reviews\u003c\/font\u003e\u003c\/em\u003e\u003c\/p\u003e\r\n\r\n\u003cp align=\"justify\"\u003e\u003cstrong\u003e\u003cfont size=\"3\"\u003eThe 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.\u003c\/font\u003e\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003eAcknowledgements\u003cbr\u003e 1. Overview\u003cbr\u003e 2. Continuation-passing style\u003cbr\u003e 3. Semantics of the CPS\u003cbr\u003e 4. ML-specific optimizations\u003cbr\u003e 5. Conversion into CPS\u003cbr\u003e 6. Optimization of the CPS\u003cbr\u003e 7. Beta expansion\u003cbr\u003e 8. Hoisting\u003cbr\u003e 9. Common subexpressions\u003cbr\u003e 10. Closure conversion\u003cbr\u003e 11. Register spilling\u003cbr\u003e 12. Space complexity\u003cbr\u003e 13. The abstract machine\u003cbr\u003e 14. Machine-code generation\u003cbr\u003e 15. Performance evaluation\u003cbr\u003e 16. The runtime system\u003cbr\u003e 17. Parallel programming\u003cbr\u003e 18. Future directions\u003cbr\u003e Appendices\u003cbr\u003e Bibliography\u003cbr\u003e Index.\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003eSubject Areas: Business applications [\u003ca title=\"See our other books on Business applications\" href=\"https:\/\/freshlyprintedbooks.co.uk\/search?q=%22Business%20applications%20%5BUF%5D%22\"\u003eUF\u003c\/a\u003e]\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\r\n\u003c\/font\u003e","brand":"Cambridge University Press","offers":[{"title":"Default Title","offer_id":45999599845656,"sku":"9780521033114","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0730\/2037\/5320\/products\/9780521033114i_069955c2-0eb2-4732-88cb-9f7390b3f307.jpg?v=1694965061","url":"https:\/\/freshlyprintedbooks.co.uk\/products\/compiling-with-continuations-paperback-9780521033114","provider":"Freshly Printed Books","version":"1.0","type":"link"}