Yes, this looks interesting, especially that you choose a sane function
name "compile_func". We should have named lambdify that.

Jason
moorepants.info
+01 530-601-9791


On Wed, Feb 19, 2025 at 11:41 PM Oscar Benjamin <[email protected]>
wrote:

> Hi Shahriar,
>
> The symjit package sounds very interesting. I will have to take a look at
> it.
>
> I'm not sure what the list of packages you are referring to is.
> Presumably a PR to the website can add this?
>
> https://github.com/sympy/sympy.github.com
>
> Oscar
>
> On Wed, 19 Feb 2025 at 22:14, Shahriar Iravanian <[email protected]>
> wrote:
> >
> > Could you please add symjit (https://github.com/siravan/symjit) to the
> list of SymPy projects?
> >
> > Symjit is a lightweight just-in-time (JIT) compiler that directly
> translates basic sympy expressions into x86-64 and aarch64 machine codes
> (and, optionally, to WebAssembly). Currently, its main utility is to
> generate fast numerical functions to feed into different numerical solvers
> (quadrature, ode solvers...). It has minimum dependency on external
> libraries and does not use a separate compiler, such as LLVM. It also works
> very well in the REPL environment.
> >
> > In addition, if anyone is interested in collaborating to improve and
> extend it, please contact me. There are many possibilities for future
> works, such as adding modular arithmetic for fast polynomial computations,
> adding complex numbers, SIMD instructions, and other instruction sets.
> >
> > Thanks,
> >
> > -- Shahriar
> >
> > --
> > 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 view this discussion visit
> https://groups.google.com/d/msgid/sympy/7468597d-a73a-4aa6-ae0c-c0dd04105cb5n%40googlegroups.com
> .
>
> --
> 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 view this discussion visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxSYPmF-OkevB3Xz%2BqDYQ04XP9TcYiqdnxNBXguDJrxWMA%40mail.gmail.com
> .
>

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/sympy/CAP7f1AgM_3x0yi0oc7EvXy0us5moRWHqV6L5T9jRiFTmAiPmVQ%40mail.gmail.com.

Reply via email to