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

call/cc?




Avi Bryant writes:
>
> A while ago there was some brief discussion about the desire to add
> call/cc to goo.  The impression I get from, for example, the
> pthreads-based threading, is that goo is getting increasingly tied
> to the C stack, which would make full continuations pretty
> unrealistic.  Does anyone else still have any interest in them?

Well, one could always use a Henry Baker "Cheney on the MTA" style
compiler/allocator and keep both pthreads and call/cc.

http://zurich.ai.mit.edu/pipermail/info-cscheme/1994-February/000161.html

I think that in some sense this may be the right thing to do (modulo
the caveats that come from the fact that I'm not the one implementing
it).

Continuations are more or less the abstract type of a first-class
stack, and a thread is the abstract type of a first-class processor.
Letting the OS provide concurrency seems like the right thing to me,
and confusing the two is, well, confusing.

-- 
Neel Krishnaswami
neelk@alum.mit.edu