HACKER Q&A
📣 grandimam

Are Rust migrations delivering any benefits?


There seems to be a growing trend of rewriting everything to Rust. The common argument seems to be surrounding safety and better concurrency.

I wanted to understand if I am the only one that finds the language hard to understand (primarily it's time system). Am I missing out on something that everyone including junior engineers seems to have figured out.


  👤 dabinat Accepted Answer ✓
It can be difficult to separate the benefits of rewriting in Rust with the benefits of rewriting in general. But you can get the most benefit by structuring your code in a way that forces its correctness to be validated at compile-time, where possible. You can limit a lot of bugs and programmer mistakes this way, as well as better reason about the code.

But ultimately you can use any language you want and you don’t need to do anything just because other people are doing it. Do what makes sense for your project.


👤 bjourne
First you need to understand why C is a deeply flawed language. Google is your friend.