Saturday, May 22, 2010

Is converting JAVA programs into turbo C possible?how?

Use TOBA (see link below)





Toba translates Java class files into C source code. This allows the construction of directly executable programs that avoid the overhead of interpretation.

Is converting JAVA programs into turbo C possible?how?
Jazillian: The C to Java Translator





What is Jazillian?


Jazillian is a tool that translates from C source code to Java source code. The Java code that it produces is highly maintainable: it looks like hand-written code.


Why Convert C to Java?


Why would you want to do such a thing? The article Why Java is Better than C contains a list of reasons why Java is simply a better language than C. Besides simply wanting moving to the "latest and greatest" programming language, you may have reasons why you must use Java. Perhaps your application must be cross-platform, or interact seamlessly with another Java application, for example. See the Cost / Benefit Analysis article for a discussion of these and other issues that may drive you to convert from C to Java.


What Does Jazillian Do?


Jazillian converts C to Java like this:
Reply:Why does anyone wants to travel back to stone age?
Reply:Theoretically, any programming language can be translated to another programming language since all programming languages are based on context-free grammars.





The question on how to do it is a bit vague. Do you mean how to do it manually? Or how to do it automatically by a software?





To do it manually, you have to know both languages and just do the translation yourself.





By using a software to do it automatically, I don't know. I haven't encountered such a software yet. Sorry. Maybe other people can help in this area.


No comments:

Post a Comment