[LLVMdev] convert java to c by llvm

lu lu lulu760 at gmail.com
Thu Jul 7 01:05:07 PDT 2011


Hi,

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.

thanks!
lulu760 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110707/05ce34b7/attachment.html>


More information about the llvm-dev mailing list