Xref: utzoo comp.object:588 comp.lang.c++:5812 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!mintaka!mit-eddie!mit-amt!snorkelwacker!ai-lab!nn From: nn@wheaties.ai.mit.edu (Nick Nussbaum) Newsgroups: comp.object,comp.lang.c++ Subject: Re: Continuations Summary: Reference on Continuations in C/C++ Message-ID: <5369@rice-chex.ai.mit.edu> Date: 6 Dec 89 20:28:19 GMT References: <1713@odin.SGI.COM> <11049@goofy.megatest.UUCP> Reply-To: nn@rice-chex.WISC.EDU (Nick Nussbaum) Organization: MIT AI Lab, Cambridge, MA Lines: 12 Those interested in continuations in C might want to look at a paper by Thomas Bruel which I believe was presented at the Usenix 88 conference. He proposed implementing closures by generating pointer to some automatically generated code which sets up the environment and then jumps into the function. Thus closures can be used in the same way as vanilla function pointers. He also discusses the desirablility of nested functions. -- Nick Nussbaum PO 68 - MIT Branch nn@rice-chex.ai.mit.edu Cambridge, MA 02139