Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VM Performance / Java to Machine Code Compiler



That's awesome. I'll see if I can grab your build in a bit, or perhaps make
my own. Sorry to hear about your 56K situation :)

Yes, those speeds on Linux are great. Doesn't sound like a lot of people
are using this right now on OS X, so having some of us fiddle, feedback or
code might be good for the project too.

As far as I can tell, gcj isn't with gcc on 10.3 by default, so the build
your own gcc seems to be the way here. Gcc reports:

[EJR:local/src/junk] admin% gcc --main=HelloWorld -Wall ./HelloWorld.java
gcc: ./HelloWorld.java: Java compiler not installed on this system
[EJR:local/src/junk] admin% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1635) (-mlongcall)

Erik

On 4/28/04 9:21 AM, "Michael Hall" <email@hidden> wrote:

>
> On Monday, April 26, 2004, at 12:59 PM, Moises Lejter wrote:
>
>> At 12:46 PM 4/26/2004, Erik wrote:
>>
>>> Speculation aside, anybody have any first hand knowledge of this
>>> stuff?
>>
>> Not first hand :-) - but a web search found:
>>
>> http://www.spindazzle.org/benchmarks/
>>
> I don't know if gcj is available by default on 10.3 it wasn't 10.2.
> Just so we can say we have all the fun toys I went ahead and built it.
> Appears like it will work anyhow at 10.2.
>
> public class HelloWorld {
>
> public static void main(String[] args) {
> System.out.println("gcj Hello, World!");
> }
> }
>
> [Black-box:~/gcc/bin] mjh% ./gcj --main=HelloWorld -Wall
> HelloWorld.java -o hello
> [Black-box:~/gcc/bin] mjh% ./hello
> gcj Hello, World!
>
> I did a bootstrap build of gcc 3.4 including gcj.
> One or two oddities in the build but not terribly difficult considering
> I know near to nothing about this build process.
>
> I am putting the result on my iDisk if anyone just wants to start
> playing. I wouldn't rush though I just started the upload on a 56k
> modem and the zipped build result is 54M. Yeah, that took a while.
>
> iDisk
> http://homepage.mac.com/r0805/FileSharing.html
> gcc.zip
>
> I didn't see a license to include but I didn't really change anything,
> just muddled through the build.
> Now maybe figure out to use it on Rhino like the page you indicated
> mentioned.
> If anyone does figure out how to use it to generate comparable numbers
> I might be somewhat interested in seeing them.
>
> Mike Hall <mikehall at spacestar dot net>
> <http://www.spacestar.net/users/mikehall>
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: VM Performance / Java to Machine Code Compiler (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.