Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

September 2003
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
Aug  Oct

Continuations and CL Cookbook mods

Monday, September 1, 2003

Continuation Farms

There are some additional comments on the "continuation farms" (continuation based session state and web servers) posting at Avi Bryants blog.

Sumary of Continuation-based Web Server issues

Chris Double has a good summary of the earlier posts by Avi and I on the problem of sharing a web application session across servers in a continuation based server. He also comments on how persisting continuations in SISC Scheme can be done:
"Continuation objects in Sisc scheme are serializable. This means you can save then to a database after each request. You can reload it in another machine and all state is restored. "
Saving state in CL or Smalltalk can be as simple as just saving an image.

Definition of a Continuation

Dan Sugalski has one of the best definitions of what a continuation is that I've come across:
"a continuation is essentially a closure that, in addition to closing over the lexical environment, also closes over the control chain"
I got to his definition via a post in lambda.

CL Cookbook mods

I have made a lot of changes to the CL Cookbook page "Setting up an IDE with Emacs on Windows". It is now titled "Setting up an IDE with Emacs on Windows or Mac OS X" and has the following changes:

I would appreciate any feedback/comments on the revised page. Also, although I have included instructions for Mac OS X, it is not an operating system that I use on a regular basis (at least, not at the moment). Therefore I would appreciate any additional code snippets that could be used to improve support on this platform. In fact, if someone would like to carve off the Mac OS X instructions and put them on a separate CL Cookbook page and maintain those instructions, I would welcome that too!

emacs Copyright © 2004 by Bill Clementson