News for hackers. Stuff that matters.
Re:SymPy: Symbolic Mathematics in Python by fho on Wednesday February 28, 2024 @12:16PM (#39540909)
Funfact: you can probably JIT compile that using JAX for an easy performance gain.
Re:SymPy: Symbolic Mathematics in Python by 6gvONxR4sf7o on Wednesday February 28, 2024 @12:32PM (#39541125)
But then they would have to compile the jit-optimized XLA to C. Do you know if that’s straightforwardly doable?
Re:SymPy: Symbolic Mathematics in Python by fho on Wednesday March 06, 2024 @03:55PM (#39621302)
Hmm ... Good question. I would assume that JAX and XLA is based on LLVM (like everything else these days) and that you could probably grab the IR at some point to compile it to your target.
Re:SymPy: Symbolic Mathematics in Python by nephanth on Wednesday February 28, 2024 @11:05PM (#39546300)
Numba would probably do the job too