Newsgroups: comp.lang.java,comp.lang.scheme,comp.lang.misc
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!zombie.ncsc.mil!nntp.coast.net!col.hp.com!news.dtc.hp.com!hplntx!hplntx.hpl.hp.com!gjr
From: gjr@hplgr2.hpl.hp.com (Guillermo (Bill) J. Rozas)
Subject: Re: Is the Java VM language-independent or not?  Scheme support
Sender: news@hpl.hp.com (HPLabs Usenet Login)
Message-ID: <GJR.95Dec21171920@hplgr2.hpl.hp.com>
In-Reply-To: fuchs@cerc.wvu.edu's message of Thu, 21 Dec 1995 15:09:30 GMT
Date: Fri, 22 Dec 1995 01:19:20 GMT
Reply-To: gjr@hplabs.hpl.hp.com
References: <SHRIRAM.95Dec17140956@europa.cs.rice.edu><DJrqtA.25L@cerc.wvu.edu>
	<SHRIRAM.95Dec18092446@europa.cs.rice.edu> <DJxzFv.7rv@cerc.wvu.edu>
Nntp-Posting-Host: hplgr2.hpl.hp.com
Organization: /users/gjr/.organization
Followup-To: comp.lang.java,comp.lang.scheme,comp.lang.misc
Lines: 20
Xref: glinda.oz.cs.cmu.edu comp.lang.java:11743 comp.lang.scheme:14642 comp.lang.misc:24165

In article <DJxzFv.7rv@cerc.wvu.edu> fuchs@cerc.wvu.edu (Matthew Fuchs) writes:

|   In my case I was working on mobile distributed objects on a WAN
|   (http://www.cerc.wvu.edu/~fuchs/book.ps.gz), in which case performance
|   is already shot, so code analysis to squeeze the last bit of
|   performance was not my goal.  Appel's approach gave me a clean,
|   bounded, simple (relative to the alternatives), consistent (thank you,
|   Carl Hewitt) approach to all communication.  This allowed me to avoid
|   months of harrowing cleverness and get a lot more work done.  Anyway,
|   if we're really clever, we'll use a variety of techniques, depending
|   on the situation.

I would like to point out that Rabbit, Guy Steele's 1978 compiler for
Scheme already used heap-allocated continuation frames.  The catch
special form just bound the current continuation object to the
variable (catch is equivalent to cwcc, it is just a special form
rather than a procedure).

The trick is even older since (if memory doesn't fail me) it was
described in one of the "the ultimate..." papers.
