Search code examples
c++garbage-collectionjitvm-implementation

Open source virtual machine


I'm looking for an open source virtual machine that's:

  • fast and as lightweight as possible
  • supports a minimal set of bytecode (like LLVM IR)
  • easily embedable from a C++ application
  • Cross platform (Linux, Windows and OS X)
  • x86 support

Solution

  • Why filter out LLVM ? It's a set of C libraries

    I guess it's not as easy to embed than Lua, but LLVM is so great that it would probably overcome the hassle of integrating it. See this SO question, does it help ?