← Back to context

Comment by phplovesong

17 hours ago

Thats not special to rust in any way or form. Most of mentioned features are stolen from ML, and in some cases badly. Eg rust has unwrap thats basically a ticking time bomb waiting to blow up. Rust has many other ways to blow up the program. Its not only about memory safety (80% of rust apps in the wild dont benefit from "memory safety" in any way or form).

> Most of mentioned features are stolen from ML

Rust is the most popular ML-derived language, so if some is considering Rust vs. some other language the chances are the other one they're considering does not have all the ML goodies.

IMHO every app benefits from memory safety.

Memory safety doesn't only have security implications, but reduces crashes, misbehavior and corrupt data.

You don't want either in any software, which has to fulfill a task in a productive way.

Okay, but the alternative isn't ML; virtually all of this software would otherwise be written in C or C++.