Hacker News new | ask | show | jobs
by constantcrying 1063 days ago
Rust seems monumentally unsuited as a glue language like Perl or Bash. It is statically typed, compiled, makes strong assumption about the code, is relatively hard to write/learn and somewhat verbose.

Rusts reason for existence and main goal is replacing C++.

>For machine learning, we have the Py ecosystem

A very bad state of affairs to be sure and also not really true as python is just a thin layer ontop of the actual code running the networks, which are written in C++ or loaded of to GPUs.

1 comments

>python is just a thin layer ontop of the actual code running the networks, which are written in C++ or loaded of to GPUs.

Or Rust which is under libraries such as Polars. In other words: python is the glue in the data science world.

Indeed. Python is the high-level glue that connects the low-level stuff. When you import tensorflow, for instance, you deal with simplified abstractions and don't have to think about all the low-level optimizations that are taken care of by C/C++/Rust.

Rust is not the glue. It is a building block.