Updated: 11/5/2005; 6:10:37 PM.
Chris Double's Radio Weblog
        

Friday, October 07, 2005

A Technique for implementing first class continuations. From a comp.lang.scheme posting by Joe Marshall.
This paper describes a technique for implementing first-class continuations in languages that do not support stack inspection and manipulation. The technique involves modifying procedures (or methods) such that they are able to co-operatively participate in the creation and use of first-class continuations. The transform differs from continuation-passing-style in that the call/return stack continues to be the primary mechanism for representing continuations; a heap representation of the continuation is only constructed when necessary. This may result in better performance than CPS-conversion for those programs that make only occasional use of first-class continuations.

3:45:28 PM      

Peter Seibel has made available the system he used to produce the book Practical Common Lisp.  Naturally it's in Common Lisp. With an original document in a combination of TeX and wiki style markup you get nicely formatted PDF and HTML output.

3:10:24 PM      

© Copyright 2005 Chris Double.
 
October 2005
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Sep   Nov



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.