A lot ML/AI is research where iteration speed is more important than runtime performance or long term maintainability (software engineering).
A lot more programmers know Python than Rust, so it’s easier to prototype a new project in a new domain without having to learn a new language at the same time.
A lot of Python calls C libs to do the heavy lifting, and that’s where the “real” ML/AI code is written, rather than the web apps built around it.
All that said, at PostgresML, we’ve found Rust great for not just ML and AI, but also database and web application development.
A lot ML/AI is research where iteration speed is more important than runtime performance or long term maintainability (software engineering).
A lot more programmers know Python than Rust, so it’s easier to prototype a new project in a new domain without having to learn a new language at the same time.
A lot of Python calls C libs to do the heavy lifting, and that’s where the “real” ML/AI code is written, rather than the web apps built around it.
All that said, at PostgresML, we’ve found Rust great for not just ML and AI, but also database and web application development.
https://postgresml.org/blog/postgresml-is-moving-to-rust-for-our-2.0-release