Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 12:44:31 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Chuck Robey <chuckr@mat.net>
Cc:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, hackers@FreeBSD.ORG, freebsd-java@FreeBSD.ORG
Subject:   Native Java Compilers
Message-ID:  <199904101944.MAA08435@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 10 Apr 1999 09:10:15 EDT." <Pine.BSF.4.10.9904100904470.378-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
I would wait till gcj+libgcj is stable to incorporate it into the tree. I 
can't get libcgj to compile
over here and I tried updating  libgcj a couple of times additionally it looks 
like
it has had zero testing out on the field well at least the version available 
from cygnus
cvs repository.

We do need java vm experts and compiler people to hash out the problems with
the currrent crop of Java to Native binaries compilers: 
1. Electrical Fire http://www.mozilla.org/projects/ef
2. Japhar http://www.japhar.org

The above compilers perform a java to native binary compilation . Whats the 
difference
between this approach and JITs not much other than the compiler does more work
to optmize the code for instance in the of EF it does a Chaitin-Briggs 
Register Allocation.

It should be interesting comparing gcj and EF so far EF appears to generate 
the best code
and I have tested against Kaffe  and  Japhar.

	This is going to be a good year for Freebsd !

	Amancio



> On Fri, 9 Apr 1999, Archie Cobbs wrote:
> 
> > Jordan K. Hubbard writes:
> > > > Yeah, I'm serious, I would really like gcj+libgcj, to get java stuff
> > > > compiled (non portably) into binaries on FreeBSD.
> > > 
> > > 1. I agree in principle.
> > > 
> > > 2. I'd sort of like to see a second release of this, at least, before
> > >    we start talking seriously of bringing it into -current.  I predict
> > >    a rapidly changing Doppler on this target.
> > 
> > gcj is still pretty wet behind the ears at this point. So it seems
> > one approach would be to have it in there but by default not
> > compiled/included (the sources are already part of egcs and so in
> > the tree as I understand it). Then when/if it becomes more stable
> > and loved by the world we can flip that switch to default to on.
> > 
> > Additionally, the "libgjc" component that was just released should
> > be made into a port for now (this is the runtime that goes with
> > the gcj Java compiler).
> > 
> > Longer term, I think there is enough interest in it that this combo
> > will eventually become the most popular freeware runtime for Java.
> 
> As long as we can bring it in conditionally, have libgcj is possibly
> more important to FreeBSD than you'd think.  Realize there are a large
> number of us out there doing Java development (I'm only doing it for
> classes now, but there's a lot of folks doing this) and since there's no
> Java2 yet for FreeBSD, it's a drawback.  I have Solaris7 at my elbow
> here, *extremely* unwillingly, only because I need Java2.
> 
> It's going to be possible to get a pretty good idea of how well libgcj
> works, pretty quickly; what I'm saying here is, it's not a 3 month wait
> here, it's probably a couple weeks.
> 
> The reason gcj is "wet behind the ears" is because it's not useful
> without the runtime support, which has just been released as libgcj, so
> don't make any judgements about gcj, make them about gcj+libgcj.
> 
> > 
> > -Archie
> > 
> > ___________________________________________________________________________
> > Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-java" in the body of the message
> > 
> > 
> 
> ----------------------------+-----------------------------------------------
> Chuck Robey                 | Interests include any kind of voice or data 
> chuckr@picnic.mat.net       | communications topic, C programming, and Unix.
> 213 Lakeside Drive Apt T-1  |
> Greenbelt, MD 20770         | I run picnic (FreeBSD-current)
> (301) 220-2114              | and jaunt (Solaris7).
> ----------------------------+-----------------------------------------------
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904101944.MAA08435>