Are there good C++ to Java code converters?
Did you try Google Translate?
More on reddit.comTurning C code into Java
C to Java Translation. Automatic, Complete, Correct. Free for Open-Source.
Live java to c# converter
Context:
So, there is this exciting lossless image codec that has been released recently. I want to create a Java decoder for it. The original code is implemented in C++. I have been able to convert it to Javascript with the help of emscripten.
I was wondering if there is a good tool that can convert from C++ to Java. I remember seeing one such tool on github a long time back, but I can't find it anymore.
It doesn't have to be a perfect translation; even if it gets me half-way there, it would help reduce the drudgery of manual translation.
Thanks!
Did you try Google Translate?
my dickish response to the title: god I hope not...
For pure Java I'd recommend checking out the twelvemonkeys project for examples of implementing ImageIO codecs: https://github.com/haraldk/TwelveMonkeys
You could also consider writing a quick JNA wrapper: https://github.com/java-native-access/jna
Either way good luck, Java imaging is in a deplorable state and seems to be all but ignored by Oracle.