Any LLVM safe wrapper (or some light for writing one)?


#1

I am currently trying to write language implementations with LLVM. Of course, I am doing it in rust. Is there any LLVM safe wrapper? I am trying to write my internal one, but it is kind of messy. I mean, I have no clue if things are allocated or deallocated with a function or whatever. Also, the LLVM documentation on C’s API is kind of poor.


#2

I found Inkwell few weeks ago.


#3

Inkwell is probably the best interface to LLVM at the moment. I’ve used it in the past and even contributed a little to their JIT execution engine, and found it to be quite nice to work with.