I'm proficient in Java/PHP/JS/Python/C. Between Rust or Go whats the easier language to learn?
Ask HN: Rust or Go?
1–10 of 14 posts
Re: Ask HN: Rust or Go?
#2Starting with go was far easier for me
Re: Ask HN: Rust or Go?
#3Re: Ask HN: Rust or Go?
#4Rust is more tricky, since it places emphasis on correctness and memory management. Starting with go was far easier for me
Re: Ask HN: Rust or Go?
#5Rust is more tricky, since it places emphasis on correctness and memory management. Starting with go was far easier for me
Placing emphasis on correctness sounds like a plus. How does Rust do this? Does it only apply to memory management? For added performance I could live without gc, but I still prefer it.
https://doc.rust-lang.org/book/ch04-00-understanding-ownersh...
This link explains it pretty clearly with example code (which is easy enough to understand even if you've never seen rust code before).
Re: Ask HN: Rust or Go?
#6Rust 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.
Re: Ask HN: Rust or Go?
#7Rust 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.
Re: Ask HN: Rust or Go?
#8Earlier quoted context omitted.
Placing emphasis on correctness sounds like a plus. How does Rust do this? Does it only apply to memory management? For added performance I could live without gc, but I still prefer it.
>How does Rust do this? Does it only apply to memory management? https://doc.rust-lang.org/book/ch04-00-understanding-ownersh... This link explains it pretty clearly with example code (which is easy enough to understand even if you've never seen rust code before).
Re: Ask HN: Rust or Go?
#9Rust is more tricky, since it places emphasis on correctness and memory management. Starting with go was far easier for me
Placing emphasis on correctness sounds like a plus. How does Rust do this? Does it only apply to memory management? For added performance I could live without gc, but I still prefer it.
Remember: static beats dynamic, every time. Time spent checking assertions at compile time pays for itself many times over in time spent debugging these same issues at run time. Just as static typing is a huge win over dynamic typing, static lifetime analysis (Rust memory semantics) is a huge win over dynamic lifetime analysis (GC).