3 ms·
> This could be pretty cool. Right now you have to drop down to non-portable, do you ? I've been doing JIT in C++ with the clang api for quite some time alread
by jcelerier 7y ago
> This could be pretty cool. Right now you have to drop down to non-portable,
do you ? I've been doing JIT in C++ with the clang api for quite some time already. Sure, it's heavy in terms of "compile time" and binary size increase since you have to ship clang & llvm, but it enables some pretty cool stuff.
- m0zg 7y agoXbyak works in both Clang and GCC though. And presumably in other compilers as well. As far as I can tell, Clang-based JIT only works with Clang. Clang, unfortunately, usually produces measurably slower non-jit code.