From owner-freebsd-java Sat Apr 10 12:46:58 1999 Delivered-To: freebsd-java@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id 546D114F8D; Sat, 10 Apr 1999 12:46:54 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id MAA08435; Sat, 10 Apr 1999 12:44:31 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199904101944.MAA08435@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Chuck Robey Cc: "Jordan K. Hubbard" , hackers@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Native Java Compilers In-reply-to: Your message of "Sat, 10 Apr 1999 09:10:15 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Apr 1999 12:44:31 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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