This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Obfuscation - optimisation?


Am Mittwoch, 24. November 2004 09:53 schrieb Martin Egholm Nielsen:
> Hi,
> 
> (Weird, I cannot see my own posting in the newsgroup [on gmane], but 
> yours is there...)
> 
> >>A question came to mind:
> >>When using classes one can use obfuscation/optimisation tools on 
> >>class-files (e.g. progaurd) in order to reduce footprint, etc. Are there 
> >>any similar possibilities with gcj?
> >>I reckon I cannot use progaurd since gcj cannot compile to native from 
> >>class-files, right?!
> > gcj can compile from class files to native but its less effective.
> Ofcourse it can - silly me. I use "gcj -c some.jar" all the time...
> But how is it less effective?

gcj can use more optimizations because class files provide much less
informations for the compiler then java sources do.

> But that is then the way to go - obfuscation on class-basis and then 
> straight ahead?!

I know no other way yet.


Michael
-- 
Homepage: http://www.worldforge.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]