Hi, On Tue, Jun 21, 2016 at 3:28 PM, Björn Dahlgren <[email protected]> wrote:
> > 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. > We'd definitely be interested. 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. Isuru Fernando -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CA%2B01voOSqu1QW5%2BtxaLe-rH3CJ%2B84CCkXMP8cofT_%3D1%3D%2Bj74XA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
