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: Can I convert Java codes to C++ codes via your gcc/gcj software?


What you want is the inverse of gcj.  We had the same need and found
that no existing tools meet it, so we wrote this:

  http://www.xwt.org/mips2java/

The compiler is working now; it shows a 9x performance increase over
the interpreter on our sample test (IJG jpeg decompressor).  We're
submitting the paper to IMVE'04 (subconference of PLDI).

  - a



Ranjit Mathew <rmathew@hotmail.com> writes:
> xueheng wrote:
> > Hi, gcc/gcj team,
> > 
> > I have a small project written by Java language, can I use translate it
> > into the C++ codes via your gcc/gcj software? if yes, can you let me 
> > know how to do?
> 
> No.
> 
> It can only be compiled into native executable code
> or to JVM bytecodes.
> 
> Ranjit.
> 
> -- 
> Ranjit Mathew          Email: rmathew AT hotmail DOT com
> 
> Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/
> 
> 

-- 
"Education is not filling a bucket but lighting a fire." -- WB Yeats


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