my c++ code have to call some functions coded by java. In the beginning, I call those functions by jni.
Unfortunately, jni has lots of performance loss, so it can’t meets my needs.
I wandor if I can convert these java codes to c/c++ by llvm. First, I convert java words to llvm bytecode, then covert llvm bytecodes to c/c++.
I am a green hand of LLVM and compilers. So tt’s very appreciated if someone told me if the idea is feasible or how to do it.