Xref: utzoo comp.object:515 comp.lang.c++:5692 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!texbell!texsun!pollux!ti-csl!m2!gateley From: gateley@m2.csc.ti.com (John Gateley) Newsgroups: comp.object,comp.lang.c++ Subject: Re: Continuations Message-ID: <99894@ti-csl.csc.ti.com> Date: 28 Nov 89 21:33:24 GMT References: <2664@bingvaxu.cc.binghamton.edu> <9624@pyr.gatech.EDU> <1623@odin.SGI.COM> Sender: news@ti-csl.csc.ti.com Reply-To: gateley@m2.UUCP (John Gateley) Followup-To: comp.object Organization: TI Computer Science Center, Dallas Lines: 16 In article <1623@odin.SGI.COM> shap@delrey.sgi.com (Jonathan Shapiro) writes: >I do not believe that it is feasible to add continuations to C++ for >any number of reasons, but I would be interested to hear the reactions >in this community regarding their utility in object-oriented programming. I don't see why it would not be feasible, C++ has for loops and other control structures, why not continuations as well? As for object oriented continuations: A continuation is a technique for modelling/creating flow of control. In pure object oriented systems, this is done by message passing. Thus, a OO continuation would probably be something which modelled a process: like a coroutine object, which you send messages to (like resume). This is a half baked idea, but maybe worthwhile. John gateley@m2.csc.ti.com Brought to you by Super Global Mega Corp .com