4 ms·
That's out of date, libgccjit exists. LLVM is a bit difficult to use as a library because it has no stable API and is in C++ so it doesn't have a stable ABI eit
by astrange 2y ago
That's out of date, libgccjit exists. LLVM is a bit difficult to use as a library because it has no stable API and is in C++ so it doesn't have a stable ABI either.
- pjmlp 2y agoLLVM does offer a C based stable ABI, even though it isn't as feature rich as the C++ one, is good enough for most use cases. https://llvm.org/doxygen/group__LLVMC.html https://llvm.org/doxygen/group__LLVMC.html
- boxed 2y agoHmm.. why is it called "jit"? That seems like it's telling everyone the use case is very different from LLVM. Also the big EXPERIMENTAL banner doesn't instill confidence. Unlike with LLVM which is used by dozens of production languages.
- astrange 2y agoWhy would you need it as a library other than to do jit?