This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Can I convert Java codes to C++ codes via your gcc/gcj software?
- From: Adam Megacz <adam at megacz dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: xueheng <xueheng at lingwen dot com dot cn>, java at gcc dot gnu dot org
- Date: Tue, 18 Nov 2003 22:52:11 -0800
- Subject: Re: Can I convert Java codes to C++ codes via your gcc/gcj software?
- Organization: Myself
- References: <OOEJIJAPGEMGJKGACICCMEONCFAA.xueheng@lingwen.com.cn> <3FBA0A19.5000802@hotmail.com>
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