[comp.lang.scheme] reentrant Scheme

peb@Autodesk.COM (Paul Baclaski) (03/07/91)

In article <9103051902.AA09664@schizo>, gjc@mitech.COM writes:
>         Scheme = create_scheme_interpreter();
> (Question: Do you want to be able to pass data from
> one scheme "interpreter environment" into another? That could be nasty
> from the point of view of the GC. Actually, I'm finding it hard to
> imagine why you need to do this. Unless you are talking about some kind
> of multi-user environment).

I call it Dueling Schemes.  This is an interesting problem when you
want to have Schemes in heavy weight processes talk to each other.  It
seems to me that communication between them must be via copy, i.e.,
(write) and (read), and not a shared heap.  For several light weight
Schemes, I don't see why optimized continuations would do the trick
(using a shared heap, and being very careful when you task switch).

Paul E. Baclaski
peb@autodesk.com