- 1
C to Java Converter
Does anyone know a good C to Java converter? I have a code that I have to convert but I can't seem to find one that works properly.
5 Respuestas
+ 4
If you type the title of your question in google:
https://www.mtsystems.com/#section2
This is called transpilation. Many tools are available if you care to search.
#LMGTFY
+ 2
I just found this thread
https://www.sololearn.com/Discuss/2124074/?ref=app
So I also think that there does not exist an easy solution.
+ 2
There are also other possible approaches to this question.
You can invoke a C program from Java code via JNI (Java Native Interface)
https://developer.ibm.com/technologies/java/tutorials/j-jni/
And there is also GraalVM, a new polyglot virtual machine that enables interaction between a variery of programming languages
https://www.graalvm.org/docs/reference-manual/languages/llvm/