This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: kawa - call/cc
- To: Chris <chris at bitmead dot com>
- Subject: Re: kawa - call/cc
- From: Per Bothner <per at bothner dot com>
- Date: Mon, 12 Nov 2001 07:39:31 -0800
- Cc: kawa <kawa at sources dot redhat dot com>
- References: <3BEFD956.80305@bitmead.com>
Chris wrote:
> Curious - Is it possible one day kawa may fully support call/cc, or
> is this just an intractable problem for the java virtual machine?
It is quite possible to fully support call/cc. In principle it is just
a matter of some source-level re-writing plus using the existing
support for full tail-calls. The challeng is doing it efficiently
and cleanly - and having time to actually implement it.
It does appear that the lack of full call/cc is holding some people
back from using Kawa. I am slowly trying to work out an efficient
calling convention that supports call/cc, but it is a question of
priorities.
--Per Bothner