> Why you want to use gcj I do not understand, because it is
> not a particular good implementation.
>
> Arne
Thanks Arne.
You are right, but even if GCJ support some minimal number of swing
components, I can compile the Java programs natively.This may improve
the performance of the java program and I cannot afford to buy
JET .That is why I am interested in GCJ, its features ,etc.
Thanks.
Thomas Kellerer - 21 Aug 2007 11:42 GMT
Wills wrote on 21.08.2007 08:16:
>> Why you want to use gcj I do not understand, because it is
>> not a particular good implementation.
[quoted text clipped - 6 lines]
> JET .That is why I am interested in GCJ, its features ,etc.
> Thanks.
I don't think it will improve your performance. With a modern JVM (1.5 or 1.6)
your code will be compiled into native code quite quickly, probably with a
better chance of optimisation than a static compiler could do.
But if get it working, post your results here. I'd be interested (mainly if I am
proven wrong or right ;) )
Thomas
Arne Vajhøj - 24 Aug 2007 02:10 GMT
>> Why you want to use gcj I do not understand, because it is
>> not a particular good implementation.
> You are right, but even if GCJ support some minimal number of swing
> components, I can compile the Java programs natively.This may improve
> the performance of the java program and I cannot afford to buy
> JET .That is why I am interested in GCJ, its features ,etc.
It will not improve performance.
Results from a simple benchmark I use:
gcj 3.4.4 11,0
SUN 1.6.0 -client 14,1
gcj 3.4.4 -O3 20,2
SUN 1.4.2 -client 20,7
SUN 1.5.0 -client 24,7
SUN 1.4.2 -server 40,8
SUN 1.5.0 -server 54,8
SUN 1.6.0 -server 60,8
(higgher = better)
Arne
ldv@mail.com - 25 Aug 2007 09:52 GMT
> > Why you want to use gcj I do not understand, because it is
> > not a particular good implementation.
[quoted text clipped - 7 lines]
> JET .That is why I am interested in GCJ, its features ,etc.
> Thanks.
If your project is non-commercial, you may qualify for a free
Excelsior JET license:
http://www.excelsior-usa.com/jetpricing.html#non-comm
But even if you are developing those Java apps to make money, do
contact Excelsior, they a reasonable people and would likely trade a
license for something valuable to them. For instance, they are used to
give free licenses to most active beta testers.
LDV