4 ms·
> Are the bindings for other languages usable? Yes, I've done several compiler projects using Haskell and LLVM. That said, not all the bindings were always ma
by exDM69 6y ago
> Are the bindings for other languages usable?
Yes, I've done several compiler projects using Haskell and LLVM.
That said, not all the bindings were always maintained and up to date and together with LLVM's lack of API stability, there was a significant amount of churn work related to updating from one LLVM version to another. I had to build and install an older version of LLVM that would work with the bindings, several times.
Note: this was years ago, situation may have improved.
I understand that LLVM API doesn't change significantly between versions any more so the work required to update the bindings to a newer version shouldn't be huge for the maintainers of the bindings. But for an end user like me there was quite a lot of manual steps to get my project and the dependencies building.
There's always the option of emitting LLVM IR by writing text, but that doesn't give you the ability to do JITting and a REPL and so on.