HACKER Q&A
📣 gomes33

Rust or Go?


I want to learn another programming language. I have to decide between Rust or Go.

I'm proficient in Java/PHP/JS/Python/C. Between Rust or Go whats the easier language to learn?


  👤 spicyusername Accepted Answer ✓
Depends on where you want to take your career.

Rust and Go are different tools that are good at solving different categories of problems. Additionally they are both languages that will provide different lessons about modern programming ergonomics.

If you expect your programming career to be solving more high level "enterprise-y" problems like writing APIs, web services, and middleware, learning Go is probably going to be more useful to you.

If you think your programming career is going to be more low-level like programming operating systems, libraries, or drivers, learning Rust is probably going to be more valuable to you.


👤 snider
Rust is more tricky, since it places emphasis on correctness and memory management.

Starting with go was far easier for me


👤 tptacek
Go is much, much easier to learn than Rust (Rust is pretty easy if you're already a C++ programmer, though). They're both fine languages.

👤 tomohawk
You can learn go in a week, and be proficient quickly. You will find you can read pretty much any go code written by anyone. The source to everything is available.

Rust is more like c++. It contains not-so-easy concepts dealing with memory that require different approaches. It will take 6 months or more to get there.


👤 gomes33
Thank you all for your time with this question.