how fast can gcc with java be, compared with a jit

Tom Tromey tromey@cygnus.com
Tue Sep 26 13:58:00 GMT 2000


>>>>> "Magnus" == Magnus Persson <magnus.persson@thephonepages.com> writes:

Magnus> When doing FIR-filters i have found that ibm:s jdk1.3 is 20
Magnus> percent faster than gcc-optimized c-code !

Have you tried compiling the Java code with gcj and seeing how it
performs?

It might still be slower.  gcj implements still strict FP semantics,
which is expensive on x86.

Tom


More information about the Java mailing list