This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Defining Java Classes in Kawa
- From: Vladimir Tsichevski <wowa at jet dot msk dot su>
- To: David O'Callaghan <David dot OCallaghan at cs dot tcd dot ie>
- Cc: Kawa Mailing List <kawa at sources dot redhat dot com>
- Date: Tue, 24 Aug 2004 17:10:48 +0400
- Subject: Re: Defining Java Classes in Kawa
- References: <20040823162238.GD3124@toad.cs.tcd.ie>
David O'Callaghan wrote:
Hello All,
I'm interseted in using Kawa to provide a functional-programming
interface to an existing Java framework.
IMHO you should not do that at all unless:
1. You already have a LOT of pure scheme code which you want to run on
Java virtual machine.
2. The interface to existing Java classes is quite narrow and well defined.
Otherwise if you just think just scheme would make Java programming
simplier, you are probably wrong. In general, use Java framework to
write java programs. Writing Java programs in scheme is possible, but
just not inconvenient.
PS: as to your problem with calling superclass's methods etc., the
answer is yes, kawa probably allows you to create same bytecode as
"native" Java compilers do
Regards,
Vladimir Tsichevski