[llvm-dev] Which python binding of LLVM is officially supported?
Finkel, Hal J. via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 14 07:40:54 PST 2019
On 1/13/19 12:00 PM, Peng Yu via llvm-dev wrote:
> I'd like to program in a scripting language such as python as
> programming in a scripting language rather than C++ can improve the
> programming productivity.
> I see several python bindings of LLVM. But I am not sure which one is
> well supported.
> For llvmpy only work with LLVM 3.3, but now LLVM is already at 8.0.
> This sounds to be too outdated.
> llvmlite is tailored for Numba and the support is prioritized toward
While I understand why you might say this, I don't think that it's true
> So I don't think it is a good choice either.
llvmlite is the preferred Python binding. In the compilers class that I
teach, I introduce llvmlite for students who wish to use Python. It's
reasonably comprehensive (e.g., we've run into very few things that you
can do with the C API that you can't do with llvmlite). It appears to be
> Is there any better well-supported python binding for LLVM? Thanks.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev