call/cc?
Neel Krishnaswami <[email protected]> Fri, 6 Sep 2002 20:57:44 -0400 (EDT)
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]