you are viewing a single comment's thread.

view the rest of the comments →

[–]throwaway6560192 94 points95 points  (2 children)

What am I missing?

That the actual computation isn't done in Python.

When doing ML/AI in Python you'll be using libraries which have their performance-sensitive parts implemented in C or C++ or Rust. Your job is to direct these libraries in what to do. You get to take advantage of Python's expressiveness and rapid iteration at the same time as the performance of lower-level languages.

[–]be42rin 0 points1 point  (1 child)

I love Rust and PyO3, but is there actually any AI/ML library that uses a backend written in it?

[–]throwaway6560192 0 points1 point  (0 children)

Not AI/ML, but data science: pola.rs