Skip to content

Instantly share code, notes, and snippets.

@rylev
Created March 5, 2019 10:50
Show Gist options
  • Save rylev/f76b8e9567a722f1b157a69a4f98f1c1 to your computer and use it in GitHub Desktop.
Save rylev/f76b8e9567a722f1b157a69a4f98f1c1 to your computer and use it in GitHub Desktop.
How to Learn Rust

Learning Rust

The following is a list of resources for learning Rust as well as tips and tricks for learning the language faster.

Warning

Rust is not C or C++ so the way your accustomed to do things in those languages might not work in Rust. The best way to learn Rust is to embrace its best practices and see where that takes you.

The generally recommended path is to start by reading the books, and doing small coding exercises until the rules around borrow checking become intuitive. Once this happens, then you can expand to more real world projects. If you find yourself struggling hard with the borrow checker, seek help. It very well could be that you're trying to solve your problem in a way that goes against how Rust wants you to work.

Books

The two best book resources are:

Rust is a particular language that works best when you work with how it wants you to do things. Therefore, in general, most people find it preferable to read the books (at least the first halves) before trying to build anything complex in Rust.

Online Resources

Specialized Topics:

Libraries to Know

Note: If your background is in C/C++ you might be tempted to implement a doubly-linked list in Rust. Rust’s strict ownership rules make implementing a doubly-linked list (where each node has multiple owners) difficult.

If you have any questions or want to know what the best way to get started in a specific area of Rust, please let us know. We’re more than happy to help set you on the right path of learning.

@mefercs
Copy link

mefercs commented Nov 10, 2021

Thx! <3

@Parth7032
Copy link

After i am master in rust blokchain language where i find job in rust please help me out.

@marvelous-007
Copy link

thanks a lot

@djmin43
Copy link

djmin43 commented Oct 8, 2022

so good

@charlie-goldenowl
Copy link

damn, so good, thanks bro

@muhammad-abdulloh
Copy link

After i am master in rust blokchain language where i find job in rust please help me out.

https://t.me/rust_jobs

@krabhi1
Copy link

krabhi1 commented Jun 12, 2023

thanks

@zacksfF
Copy link

zacksfF commented Sep 27, 2023

Omg, many thanks

@Kevin-TheGeek
Copy link

Thank you for sharing the resources.

@joaowiciuk
Copy link

Thanks for sharing! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment