I'm interested in writing an LLVM IR backend similar to the C backend.
On Monday, 20 June 2016 22:29:52 UTC+2, ruggero cyrille wrote:I'm interested in writing an LLVM IR backend similar to the C backend.
If you are well-versed in LLVM IR an interesting project would be to add JIT capabilities to SymEngine (the high-performance sister-project to SymPy),
the LLVM docs have an example called "kaleidoscope" which is pretty close to what would need to be implemented, I can't speak for the SymEngine devs, but I think they would be interested.
This would give us a very fast "lambdify" implementation.
I looked at the Kaleidoscope example and HowToUseJIT and implemented it here, https://github.com/isuruf/symengine/tree/llvm. If anybody is interested, you can take a look at and see if it can be improved. Currently, it's slower than the existing lambdify. I only have a day of experience with LLVM, so I don't know what I'm doing wrong. If you can take a look, that'll be great.