This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Defining Java Classes in Kawa


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]