[racket] Engineering Tradeoffs of ANF transforms and the Stateless Server

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Dec 30 20:08:02 EST 2011

There's no way I know of that will support dynamic-wind. In the case
of with-handlers, the problem is that with-handlers compiles to a use
of with-continuation-mark that the transformation supports, but uses a
mark key that is not serializable. In principle, dynamic-wind could
have been implemented like that, but it actually embedded in the whole
continuation-handling infrastructure of the virtual machine. Making
*that* serializable is a much bigger deal and the only other way would
be to implement your own dynamic-wind/callcc in the web-server
language... which would not be fun.

Jay


Posted on the users mailing list.