»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-27-2003, 09:47 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 691
zskillz is on a distinguished road
Send a message via AIM to zskillz
comple java code!?!? gnu?

So the other day i was talking to my admin guy about whether or not I could run a java.class program on our linux boxes...

he said that i could run the byte code, but if I compiled it, it would run faster... i was floored.. I said "compiled!?!?!" .. he said something to the effect of "yes.. gnu has a compiler for java 1.3.x".


can anyone tell me more about this??

I'm truly curious... if this is true, i may not bother learning c++

thanks all,
-Z

zskillz is offline   Reply With Quote
Old 10-27-2003, 09:49 PM   #2 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
http://gcc.gnu.org/java/

I take it you are against compiling using Suns Javac for some reason?

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 10-27-2003, 09:49 PM   #3 (permalink)
Guest
Guest
 
Posts: n/a
http://gcc.gnu.org/java/

GCJ is a portable, optimizing, ahead-of-time compiler for the Java Programming Language. It can compile Java source code directly to native machine code, Java source code to Java bytecode (class files), and Java bytecode to native machine code.
  Reply With Quote
Old 10-27-2003, 09:50 PM   #4 (permalink)
Guest
Guest
 
Posts: n/a
Seems we both had the same idea.
  Reply With Quote
Old 10-28-2003, 12:09 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 691
zskillz is on a distinguished road
Send a message via AIM to zskillz
Well... I'm not at all opposed to the javac command. but (and I could be severly confused here...) I am under the impression that 'javac' creates byte code. This is fine and dandy if I want to run byte code, but I'm doing some computational work with this program, so if I can actually compile it and run it, then I could seriously improve my performance...

no I know that that the reason you do computationally hard things with other programs is because java bytecode is interpreted and that makes it slower, but if it's actually compiled, then why even bother making it otherwise??

I'm just shocked and pleased with this new possibility!

-Z
zskillz is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 06:54 AM.