Re:Bitey: Import LLVM bitcode directly into Python
by wzdd on Friday August 10, 2012 @08:04AM
(#4365803)
I addition to cdavid's comment: LLVM IR is system independent. So if you had a deployment over heterogeneous machines you could write the extension code once and have it run everywhere without recompilation.
[ Parent
| on HN ]
Re:Bitey: Import LLVM bitcode directly into Python
by horsetail on Friday August 10, 2012 @12:10PM
(#4366781)
LLVM IR is not system independent.
http://llvm.org/docs/FAQ.html#can-i-compile-c-or-c-code-to-p...
Re:Bitey: Import LLVM bitcode directly into Python
by wzdd on Friday August 10, 2012 @01:11PM
(#4367115)
Fair enough, that was too strong a claim. But it is more portable than an extension module compiled with the system compiler.
Re:Bitey: Import LLVM bitcode directly into Python
by tungstentim on Friday August 10, 2012 @02:00PM
(#4367354)
It's not portable enough to let me take IR generated for my x86 laptop and run it on my arm board, in general, even though both platforms are ILP32, little-endian, and running the same OS.