News for hackers. Stuff that matters.
Re:From Julia to Rust by xianwen on Saturday June 05, 2021 @06:00PM (#27408770)
I'm very interested in Rust. However, it seems that Rust is not yet able to do symbolic math.
Re:From Julia to Rust by miguelraz on Saturday June 05, 2021 @06:40PM (#27409007)
Author 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

Re:From Julia to Rust by xianwen on Monday June 07, 2021 @06:48PM (#27428278)
Thanks. I'll give it a try!
Re:From Julia to Rust by hexane360 on Saturday June 05, 2021 @06:17PM (#27408863)
I'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.