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: using CNI (call compiled java from c++)


Anthony,

Thanks for the info - now I feel silly.

I'm totally up and running!

For the project I'm working on, we have a big open-source Java library
that was hand-converted to c++.  Unfortunately, the Java program is
actively improving algorithmically, but the C++ version is still
tracking down bugs/performance problems for the original version.  I'm
hoping the GJC will make a good alternative.

As for speed;
The Java version is fastest.
The GJC version is 50% slower than Java.
The C++ version is 300% slower than Java.

Good show folks,

dave


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