[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Continuations




On Wednesday, August 13, 2003, at 12:48 AM, Steve Dekorte wrote:
> On Wednesday, August 13, 2003, at 12:15 AM, Michael Sperber wrote:
>> So: yes, there are restrictions on what you can do with the escape
>> procedures created by CALL/CC from a callback.  However, (speaking of
>> "safely") Scheme 48 detects and reports all violations of these
>> restrictions for you.  Moreover, there are still a lot of things left
>> you *can* do with those escape procedures.
>
> Ok, so which things can you do with them that aren't possible with 
> coroutines?

To be clear, I should add: assuming you can't count on the C stack not 
mixing with the VM stack. That is you start the VM, and at any point 
you may call a C function with calls back into the VM.

Cheers,
Steve
OSX freeware and shareware: http://www.dekorte.com/downloads.html