4 ms·
I'm very interested in Rust. However, it seems that Rust is not yet able to do symbolic math.
by xianwen 5y ago
I'm very interested in Rust. However, it seems that Rust is not yet able to do symbolic math.
- hexane360 5y agoI'm sure there are some crates out there, but probably nothing very stable. If there's one thing Rust is not, it's a good "glue" language. It seems to do best in large, densely coupled projects. This is where there's the least cost to defining all your own types, and also where a strong type system provides the most benefit. I think there will always be a place for more dynamic languages that tend to do better at interfaces.
- miguelraz 5y agoAuthor here: I specifically mentioned the `egg` crate because of it's capabilities for symbolic math. You can check a minimal application of arithmetic differentiation and some simplification rules in their repo here: https://github.com/egraphs-good/egg/blob/main/tests/math.rs https://github.com/egraphs-good/egg/blob/main/tests/math.rs
- xianwen 5y agoThanks. I'll give it a try!