This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Using gcj as an extension language
- From: Andy Tai <atai at atai dot org>
- To: tromey at redhat dot com, atai at atai dot org
- Cc: java at gcc dot gnu dot org
- Date: Thu, 19 Dec 2002 14:25:47 -0800 (PST)
- Subject: Re: Using gcj as an extension language
- Reply-to: atai at atai dot org
Thanks for the information! I will try gcj out for my
application.
The reason I want the "main" function in C (instead of
writting the main body in Java) is that I want to be
able to control system-level initializations (for
example, using the C++ ACE/TAO library for server
applications). Also I may also want to embed other
languages like Scheme or Python.
Thanks for this excellent Free Software!
Andy
--- Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Andy" == Andy Tai <atai@atai.org> writes:
>
> Andy> Hi, this is just a general question about
> gcj... How well can
> Andy> gcj be used as an extension language, in the
> sense of guile?
>
> Fairly well, though this isn't the usual approach.
> Ordinarily you'd
> write your main program in java and have a bunch of
> C support
> libraries with java wrappers.
>
> Still, you can use the JNI invocation API to drive
> libgcj.
>
>
> I'm pretty interested in helping people write GUI
> applications using
> gcj. We still haven't found our "killer app".
>
> Tom