4 ms·
This is exactly the API presented by LLVM ORC and gccjit, you feed in their IR/bitcode and they return to you a C function pointer. https://llvm.org/docs/ORCv2
by eklitzke 4y ago
This is exactly the API presented by LLVM ORC and gccjit, you feed in their IR/bitcode and they return to you a C function pointer.
https://llvm.org/docs/ORCv2.html https://llvm.org/docs/ORCv2.html
https://gcc.gnu.org/onlinedocs/jit/ https://gcc.gnu.org/onlinedocs/jit/
- tylersmith 4y agoAnd the Rust ecosystem has good tooling for working with llvm already since it uses llvm itself.
- borodi 4y ago+1 for LLVM ORC, it's really powerful but also very easy to use. There is a simple tutorial in C++ which is a great intro to it.