this post was submitted on 28 Nov 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 1 year ago
MODERATORS
 

Why hasn't Rust gained the same recognition as Python in AI, ML, and DS, despite its significant ecosystem potential and notably better speed compared to Python?

Also, why haven't people actively developed Rust libraries for data analysis and processing, similar to what has been done in Python?

you are viewing a single comment's thread
view the rest of the comments
[–] something_cleverer@alien.top 1 points 11 months ago

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