Hacker News new | ask | show | jobs
by Janetsomehow 1325 days ago
Five reasons why you should learn Rust:

- Rust guarantees memory safety without garbage collectors or automatic reference counting.

- Rust is extremely well designed — separation of data (structs) and logic (implementations); generics are done right with the ability to add implementations of functions only for specific generic variants.

- High-level languages often abstract things like “how many bytes is an integer” or “is this going to be allocated on a heap or stack?” Rust puts these decisions in your hand and makes you accountable for every clock tick of the CPU.

- It makes you a better developer

- Even though the language is not easy, the compiler is your best friend, your mentor. Not only will it tell you exactly what the problem is, but in many cases, it will suggest the correct solution. So, in a way, it’s a private teacher for free that helps you understand your code and how to improve it further :-)