This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Another java.lang.StackOverflowError
- From: Per Bothner <per at bothner dot com>
- To: Wen-Chun Ni <wcn at tbcommerce dot com>
- Cc: Kawa List <kawa at sources dot redhat dot com>
- Date: Mon, 17 May 2004 12:53:26 -0700
- Subject: Re: Another java.lang.StackOverflowError
- References: <20040517193545.GA17265@tbcommerce.com>
Wen-Chun Ni wrote:
In general, I can't write iterative code without hitting this kind of
problem, unless I use full-tailcalls (which might be too slow).
Is there any way I can comfortably deal with this kind of problems?
Well, we either re-write the code to not require tail-calls,
or we compile with --full-tailcalls.
I do hope to work on improving the performance of --full-tailcalls
(and maybe add support for full continuations) before the end of
the year - assuming I can squeeze in the time. It would be nice to
make it the default for Kawa Scheme.
--
--Per Bothner
per@bothner.com http://per.bothner.com/