Re:Llvmcpy – Python bindings for LLVM auto-generated from th...
by eliben on Saturday December 17, 2016 @08:30AM
(#13200630)
It looks to be a less complete solution, since it only relies on the LLVM C API which is incomplete. llvmlite digs into the C++ API as well, so while it has more work to do to keep up with changes in LLVM, it's more more feature-complete
Re:Llvmcpy – Python bindings for LLVM auto-generated from th...
by aleclm on Saturday December 17, 2016 @11:54AM
(#13201331)
The LLVM-C API is quite powerful, and I'm planning to upstream some patch to expose additional stuff.
On the other hand, llvmlite doesn't even parse existing IR, it's basically write-only. Plus, representing the IR in Python makes it less memory efficient than using the native representation.
Is this going to support a larger portion of the LLVM API?