DEV Community

Discussion on: Golang or Rust, that is the question.

Collapse
 
cfvescovo profile image
Carlo Federico Vescovo • Edited

I don't think you can compare Rust and Go. They are different languages with different targets.
However, having used both for a long time, I recommend learning Rust. I really enjoy writing Rust code and everything feels so safe and fast. Generics, type safety, nice error handling and null handling are just some of the features of Rust you will love.
Rust has a steep learning curve but after reading "the book", as we call it, you will have a good understanding of how to use the language.
The Rust compiler, as someone has already wrote, isn't as fast as Go's and the borrow checker can be annoying at times but you will get used to it soon.

Collapse
 
jwp profile image
John Peters

I think you meant generics not genetics.

Collapse
 
cfvescovo profile image
Carlo Federico Vescovo

Yeah, thank you.