I will probably lean a lot on ChatGPT, but there has to be something better, hopefully free.
Ask HN: How do you learn Rust in 2023?
1–10 of 19 posts
Re: Ask HN: How do you learn Rust in 2023?
#2[dead]
Re: Ask HN: How do you learn Rust in 2023?
#3Probably the same way you learned it in 2018-2022. By using it to build small projects and progressively get larger.
Re: Ask HN: How do you learn Rust in 2023?
#4First read the rust book..
And write your own tiny program.
Re: Ask HN: How do you learn Rust in 2023?
#5ChatGPT frequently gives out incorrect code, I suggest you start with "the Book" and then work on some projects, like any other language.
Re: Ask HN: How do you learn Rust in 2023?
#6Thanks!
I am looking at The Book (https://doc.rust-lang.org/book/), but hoped there was an amazing person on youtube.
Yeah, I'll build something, finally trying webassembly.
Re: Ask HN: How do you learn Rust in 2023?
#7First, quickly go through all the documentation. Then start writing whatever comes to mind. And if you don't understand something, go back to the documentation. For me, that's the best way to learn.
Re: Ask HN: How do you learn Rust in 2023?
#8Edited for grammar and format
Read the 'Rust Book' as others suggested. Make small programs.
- Result and Option ( if let, match etc)
- understand references / mutable references
- ownership and borrowing.
- traits.
- learn generics
- Box, RC, Refcell,
- threads with Arc/ Mutexes.
- std::sync - channels(tx, rx)
- tokio (if you want to get better at an async runtime)
- take up an open source project and do it rust
Re: Ask HN: How do you learn Rust in 2023?
#9Read the Rust Book. Rust is not like other languages, you need to understand the fundamentals before staring a project, otherwise you will get frustrated.
Re: Ask HN: How do you learn Rust in 2023?
#10A good resource for learning ownership, borrowing, references and all that jazz: https://rust-unofficial.github.io/too-many-lists/