Hacker News new | ask | show | jobs
by tellme_throwa 2558 days ago
Well, I am trying to evaluate rust the language, because if the language is good, as a student, time investment can be worth it...
1 comments

So this is a bit off topic, but on the note of time investment, I'd definitely say learning Rust is valuable for your mental model. Common patterns in languages (take Go for example) allow you to do unsafe things very, very easily. Often simply involving pointers.

When you start writing programs in Rust you can often back yourself into a corner. These corners are often unsafe, but allowed patterns in other languages.

Sure, you can solve this by forcefully Mutexing everything, or you can often learn a "better" design which doesn't involve trying to prevent race conditions. These batter patterns are not exclusive to Rust and can be brought to many languages. It's just that most languages won't help you discover them.

So what I'm saying is that learning Rust can make you a better X developer, even if you don't stick with Rust. Especially if you really learn it, and get a feel for what patterns to avoid, etc. If you just learn the syntax Rust isn't likely to help you, imo.