I recommend starting with the developer documentation so you can understand the language before anything else. This is normally what I do when starting to learn programming languages, especially when languages first come out.
Learn Rust https://www.rust-lang.org/learn
Learn ARM Assembly https://developer.arm.com/documentation/dui0473/m/writing-ar...
Learn Go https://golang.org/doc/
Learn x86_64 Assembly https://software.intel.com/content/www/us/en/develop/article...
1. Identify a few projects you'd like to implement (toy ones if you want, or applications that exist in languages you already know well; or try to implement the Advent of Code problems: https://adventofcode.com/).
2. Organize them by your perceived difficulty of implementation (Advent of Code is already kinda organized in increasing order of difficulty).
3. Do your best to implement each project, experimenting with different approaches to architecture, testing, etc.
Having experience in many other programming languages, there are honestly so many different ways to architect and implement a Rust program compared to other languages (especially if you compare to a language like Go). Also, getting the hang of composition (with or without traits), when you come from other languages, is quite challenging.
The whole async/await thing is another story entirely. I currently do full-time Rust development and, tbh, I'm not totally convinced that async/await is always better in all situations. I started toying with Rust back in 2018 and have been doing full-time dev for a few months, and I'm still continuously learning new things.
The great thing about Rust is that it gives you so many options.
The terrible thing about Rust is that it gives you so many options :-)
2. Write 1 or more serious rust projects of your own choosing. Aim for projects that’ll be thousands of lines of code.
3. Read “Programming Rust”[1]
4. Write more projects
This is what I did anyway.
The Rust discord has a beginners channel which is invaluable for asking questions when you get stuck.
0: https://doc.rust-lang.org/book/
1: https://www.oreilly.com/library/view/programming-rust-2nd/97...
Rust has patterns that are very different from any other language I know of. This is why it comes across as an extremely difficult language. I would say however that C comes very close to having similar patterns (if you have discipline!) partially due to lack of OOP.
I'd also say that Rust is a poor language to learn multi-threaded programming. You absolutely won't appreciate Rust until you work in a language with no safety & learn the rationale yourself.
Here are a couple of links that I have used:
https://fasterthanli.me/articles/a-half-hour-to-learn-rust
https://github.com/Dhghomon/easy_rust
I’m using http://repl.it to learn in the browser.
My GitHub repo, which will hopefully expand over the next couple of weeks:
I can see C++ developers migrating as the philosophy of C++ seems to be more aligned with Rust than C (C solves problems by forcing you to write more C, C++ solves problems by adding more language features).
I’m not sure whether I would enjoy using Rust as I dislike the verbosity of C++ with its more complicated syntax and multitude of “features”.
(asking to understand and not troll)