Ask HN: Are Rust migrations delivering any benefits?
4 points
13 hours ago
| 2 comments
| HN
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
12 hours ago
[-]
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.

reply
grandimam
12 hours ago
[-]
> But you can get the most benefit by structuring your code in a way that forces its correctness to be validated at compile-time

Can you elaborate this more?

reply
bjourne
12 hours ago
[-]
First you need to understand why C is a deeply flawed language. Google is your friend.
reply