Hallo,
does anyone know a program able to convert Java sourcecode to C or C++
sourcecode ?
Thanks.
Regards...
P.S.: I am only using standard classes of Java 1.3.1 SE 8 16058
> Hallo, does anyone know a program able to convert Java sourcecode to C or C++ sourcecode ?
Thanks.
Regards...
P.S.: I am only using standard classes of Java 1.3.1 SE
I don't think such an animal exists. There are lots
of things in Java that don't map to standard C++ at
all, like threading, garbage collection, and a lot of
library classes.
I suggest you brush up on the differences and do it by
hand: http://icie.cs.byu.edu/cs240/javac.html
On Tue, 01 Jun 2004 22:08:55 +0200, Andreas Nauerz <no****@web.de> wrote: Hallo,
does anyone know a program able to convert Java sourcecode to C or C++ sourcecode ?
Thanks.
Regards...
P.S.: I am only using standard classes of Java 1.3.1 SE
One of the ways you can use Dinkumware's JFE Cross Compiler: http://dinkumware.com/javatocv3.html
is to have it produce C source code.
-leor
--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: download BD Software's free STL Error Message Decryptor at: www.bdsoft.com/tools/stlfilt.html
Leor Zolman wrote: One of the ways you can use Dinkumware's JFE Cross Compiler: http://dinkumware.com/javatocv3.html is to have it produce C source code.
That's actually EDG's compiler, with our library. But I wouldn't really
call it a converter -- the resulting C code is nearly unreadable. A C
compiler can understand it, but most programmers would quickly run out
of patience trying to read it.
--
Pete Becker
Dinkumware, Ltd. ( http://www.dinkumware.com)
On Tue, 01 Jun 2004 19:37:43 -0400, Pete Becker <pe********@acm.org> wrote: Leor Zolman wrote: One of the ways you can use Dinkumware's JFE Cross Compiler: http://dinkumware.com/javatocv3.html is to have it produce C source code.
That's actually EDG's compiler, with our library. But I wouldn't really call it a converter -- the resulting C code is nearly unreadable. A C compiler can understand it, but most programmers would quickly run out of patience trying to read it.
Ok, Pete, thanks for the clarification. I wasn't sure exactly how pretty
the output of the EDG/Dinkum package would be, but then, the OP didn't
specifically ask for /pretty/ C code as output ;-)
-leor
--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: download BD Software's free STL Error Message Decryptor at: www.bdsoft.com/tools/stlfilt.html
Leor Zolman wrote: Ok, Pete, thanks for the clarification. I wasn't sure exactly how pretty the output of the EDG/Dinkum package would be, but then, the OP didn't specifically ask for /pretty/ C code as output ;-)
Actually, the output looks more like LISP: Lots of Infernal Stupid
Parentheses.
--
Pete Becker
Dinkumware, Ltd. ( http://www.dinkumware.com)
On Tue, 01 Jun 2004 19:48:53 -0400, Pete Becker <pe********@acm.org> wrote: Leor Zolman wrote: Ok, Pete, thanks for the clarification. I wasn't sure exactly how pretty the output of the EDG/Dinkum package would be, but then, the OP didn't specifically ask for /pretty/ C code as output ;-)
Actually, the output looks more like LISP: Lots of Infernal Stupid Parentheses.
I hope you're not it for the Dinkum PR/Marketing Department ;-)
-leor
--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: download BD Software's free STL Error Message Decryptor at: www.bdsoft.com/tools/stlfilt.html
Leor Zolman wrote: I hope you're not it for the Dinkum PR/Marketing Department ;-)
Nope. <g> Just the one who ended up stepping through too much of that
generated code to figure out why things were crashing.
--
Pete Becker
Dinkumware, Ltd. ( http://www.dinkumware.com) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave D |
last post by:
I just read something that spooked me. I'm a newbie working my way through
"SAMS Teach Youself Java 2 in 21 Days." I used to code a bit in Symantec's
Visual Cafe for Java about 3 years ago, but...
|
by: T K |
last post by:
Anyone aware of such a converter? Anyone know why SUN is not all over it?
tia
-t
|
by: Stefan Poehn |
last post by:
Hi
does anybody know a tool that converts Java-Code to
C++? I need a very simple converter that does NOT need to
cover Threading, Swing, Exceptions, Reflection, RMI,
Security, Networking and...
|
by: Ravi |
last post by:
Do we have anything that could convert C++ code to java
code?
To what extent are such tools reliable?
TIA.
--
main(){char s="sbwjAeftqbnnfe/dpn!ps!CSbwjACjhgppu/dpn";
int...
|
by: Martin Demberger |
last post by:
Hi,
I'm working on an article about compiling java-sources to c++.
I'm interessted if someone would use this to write a program in java (and
the good IDE's available for java) and convert this to...
|
by: asj |
last post by:
just read about a person who did work in C# then decided to switch to
java (because he wanted to run his apps in multiple platforms, inc
linux). he mentioned that someone should market a c# to Java...
|
by: mamalyn |
last post by:
Could anyone help me? could anyone share with me any source code or program code that outputs a simple converter of java to c or c to java..?please help me, hope you can help as early as now, I...
|
by: Yonih |
last post by:
So I am trying to get this Calculator to work. It needs to take in a
vaule, and select a shipping
Everythin works great except the shipping part. I need it to take the
shipping value and add it to...
|
by: yinka90 |
last post by:
Hi. I have a problem with my converter. It works fine. the only problem is that it doesnt convert single digit numbers properly.
public class Main {
/**
* @param args the command line...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |