From: Karl Trygve Kalleberg <karltk@gentoo.org>
To: Hanno Meyer-Thurow <h.mth@web.de>
Cc: Gentoo Java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] work on gcj for gentoo
Date: Tue, 21 Feb 2006 16:42:51 +0100 [thread overview]
Message-ID: <43FB34FB.4030807@gentoo.org> (raw)
In-Reply-To: <20060221160425.b1478bdc.h.mth@web.de>
Hanno Meyer-Thurow wrote:
> Hi list!
> I would like to work on gcj for Gentoo.
Excellent! We need all the help we can get.
> I thought in a gcj-4.1 / ecj combination. Use ecj to bytecompile Java
> source to jar with gcj as backend. Then use gcj to create native
> executables or libraries out of that jar files. Creating a database
> via gcj-dbtool for jar / native code resolution. If possible Java to
> native.
The problem with this approach is your resulting programs will be
potentially rather slow.
While gcj can indeed compile .class files (inside .jars) to binary, I've
been told it can produce the most efficient of results. The source code
is much richer in structure than the bytecode, and opens up for many
effective optimizations which could only be reached through
"idiom-recognition" (which doesn't exist for gcj yet, afaik) of the
.class files.
I suspect that you shouldn't give up on using gcj as a source compiler
quite yet. This story may evolve with the whole ecj/gcjx/GPLv3 debate.
Just my 0.02CAD,
-- Karl T
--
gentoo-java@gentoo.org mailing list
next prev parent reply other threads:[~2006-02-21 15:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 15:04 [gentoo-java] work on gcj for gentoo Hanno Meyer-Thurow
2006-02-21 15:42 ` Karl Trygve Kalleberg [this message]
2006-02-21 18:14 ` Hanno Meyer-Thurow
2006-02-21 18:21 ` Karl Trygve Kalleberg
2006-02-21 15:45 ` Joshua Nichols
2006-02-21 15:55 ` Joshua Nichols
2006-02-21 17:53 ` Hanno Meyer-Thurow
2006-02-22 8:16 ` Andrew Cowie
2006-02-27 22:38 ` Hanno Meyer-Thurow
2006-03-01 12:30 ` Andrew Cowie
2006-03-01 14:38 ` Hanno Meyer-Thurow
2006-02-28 7:34 ` [RESEND] " Hanno Meyer-Thurow
2006-02-22 16:51 ` Hanno Meyer-Thurow
2006-02-23 2:09 ` Andrew Cowie
2006-02-23 11:25 ` Hanno Meyer-Thurow
2006-02-24 17:26 ` Hanno Meyer-Thurow
2006-02-25 14:43 ` Hanno Meyer-Thurow
2006-02-28 10:25 ` Hanno Meyer-Thurow
2006-02-28 20:37 ` Hanno Meyer-Thurow
2006-03-02 10:35 ` Hanno Meyer-Thurow
2006-03-11 20:51 ` Hanno Meyer-Thurow
2006-03-12 18:25 ` Hanno Meyer-Thurow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43FB34FB.4030807@gentoo.org \
--to=karltk@gentoo.org \
--cc=gentoo-java@lists.gentoo.org \
--cc=h.mth@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox