|Java to C or Java to C++ email@example.com (2003-03-14)|
|Re: Java to C or Java to C++ firstname.lastname@example.org (Glen Herrmannsfeldt) (2003-03-14)|
|From:||"Glen Herrmannsfeldt" <email@example.com>|
|Date:||14 Mar 2003 17:35:33 -0500|
|Keywords:||C++, Java, performance|
|Posted-Date:||14 Mar 2003 17:35:33 EST|
"Alex" <firstname.lastname@example.org> wrote in message
> Anyone out there know of any current Java to C compilers or Java to
> C++ compilers because the application I am running is slow, well java
> is slow so i would like to convert it to C or C++ without rewriting
How slow is it? Is it the program, or Java that is slow?
Reasonable Java code is supposed to run, with JIT enabled, about as fast as
C tends to be a little faster, as there is overhead in memory
allocation/deallocation for OO programming, independent of the language.
I would look at gcj and see if that helps any. Otherwise, your algorithm
may be less efficient than it could be, or it might be using Java
Return to the
Search the comp.compilers archives again.