News for hackers. Stuff that matters.
Re:Tell HN: Rust is the superglue by constantcrying on Saturday July 15, 2023 @09:47AM (#36736710)
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.

Re:Tell HN: Rust is the superglue by bjornasm on Saturday July 15, 2023 @10:15AM (#36736965)
>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.

Re:Tell HN: Rust is the superglue by nateb2022 on Sunday July 16, 2023 @01:57PM (#36749773)
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.