SciML / DifferentialEquations.jl

Multi-language suite for high-performance solvers of differential equations and scientific machine learning (SciML) components. Ordinary differential equations (ODEs), stochastic differential equations (SDEs), delay differential equations (DDEs), differential-algebraic equations (DAEs), and more in Julia.
https://docs.sciml.ai/DiffEqDocs/stable/
Other
2.85k stars 226 forks source link

Rust bindings #862

Open ilka-schulz opened 2 years ago

ilka-schulz commented 2 years ago

Can we please have Rust bindings for the project to call the library from Rust code?

Maybe this project can help to generate bindings? https://github.com/Taaitaaiger/jlrs

anandijain commented 2 years ago

I looked into it while ago but its a pain because rust requires static typing and there are so many parametric types in DiffEq, you're better off writing a script that takes ARGS in julia and just loading the saved results. I don't think that DiffEq will get rust bindings for a while, unless someone like you does it :P

ChrisRackauckas commented 2 years ago

The easiest way to do it might be to wait until StaticCompiler.jl can support enough of DiffEq to then ship some binaries.