Solved

java to c++ converter

Posted on 2003-12-04
2
586 Views
Last Modified: 2009-07-29
does anybody know if there is something to convert java code to c++ code
and if there is a program to do that where can i get it from ?
0
Comment
Question by:omashhour
2 Comments
 
LVL 4

Expert Comment

by:nil_dib
ID: 9876390
you really mean source code?
or to convert compiled code(.class files) in a win executable ...?:
http://www.excelsior-usa.com/jet.html

nil_dib
0
 
LVL 2

Accepted Solution

by:
timbauer earned 30 total points
ID: 9877151
Regarding the source to source translation, here is my input:
There is no direct way to change code from Java to C++, compile it and run for several reasons.
The JVM does alot of ugly work for the programmer at run time. One example is garbage collection. There is no way to embed that knowledge into a source file since the behavior is not known until runtime.



0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question