Is anyone using Rust to write compartmental models?

like to convert some compartmental models from fortran to Rust. Is anyone currently doing this? Is perhaps a nonsensical proposal for some reason I don't understand. I'm generally talking of this type Compartmental models in epidemiology - Wikipedia
Thx. J

No, Rust is perfectly capable of performing numerical computations (it's a general-purpose language). There aren't a whole lot of people doing numerics with it, though, which I think is mostly for cultural/historical reasons. I don't think it's particularly difficult to solve DEs in Rust, I'm pretty sure there are either pure rust ODE solvers or bindings to libraries like GSL if you search on crates.io.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.