1

Just wondering out of curiosity, if one exists ?

mP.
  • 18,002
  • 10
  • 71
  • 105
  • 1
    Do you want to execute LLVM bitcode from Java application? Easiest way would be to write thin JNI wrapper providing you functionality you need - leaving all the LLVM jit or interpreter invocation in native ode. – Mārtiņš Možeiko Jun 10 '12 at 05:42
  • @mrtis-mozeiko from what i can tell there are many similarities between instruction sets, i was hoping someones done the hard/boring work :) – mP. Jun 15 '12 at 12:36

2 Answers2

0

I found a project called java-lli on GoogleCode that seems to be trying to do this. It is not clear how much progress has been made though. (No downloadable artefacts, and nothing in the Wiki. Just stuff in SVN with the last commits in May 2011.)

FWIW, you get more results if you search for "interpreter" rather than "emulator".

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
  • Thanx for the suggestion, the project you mention never seemed to get very far. However its still interesting to browse. – mP. Jun 17 '12 at 04:36
0

Just for further information, David A. Roberts put together LLJVM (@Github). This project is also for executing LLVM-derived bitcode on the Java JVM.

Please refer to my SO answer regarding this, as some other community members had furthered his code/created patches.

[Update] - LLJVM has seemed to have been dead for somewhile, however Howard Chu (https://github.com/hyc) looks to have made LLJVM compatible with the latest version of LLVM (3.3). See Howard's LLJVM-LLVM3.3 branch at Github, here

Community
  • 1
  • 1
Big Rich
  • 5,864
  • 1
  • 40
  • 64