Rust Learning Resources
Get Beginner to Advanced Level Resources for Rust Programming Language
Last updated
Get Beginner to Advanced Level Resources for Rust Programming Language
Last updated
Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust achieves memory safety without garbage collection, and reference counting is optional.
The concrete syntax of Rust is similar to C and C++, with blocks of code delimited by curly brackets, and control flow keywords such as if
, else
, while
, and for
, although the specific syntax for defining functions is more similar to Pascal. Not all C or C++ keywords are implemented, however, and some Rust functions (such as the use of the keyword match
for pattern matching) will be less familiar to those versed in these languages.
Rust is intended to be a language for highly concurrent and highly safe systems, which makes it a natural choice for blockchain programming - both in terms of writing protocols and smart contracts.
Following these resources will present you with ample opportunity to learn the language and put it into practice. There will be specific guides aimed at the Proof of Stake networks which utilize Rust added to this list soon.
The Rust Language Cheat Sheet has a good section of Coding Guides and overall is quite useful.
Ferrous Teaching Material - Covers Beginner to Advanced topics with slideshows
Rust 101 Guide and Tutorial
Video - Intro to the Rust programming language
The Rust Book - Important and relevant piece of Rust documentation, from beginner to advanced.
Tour of Rust - Step by step guide through the features of the Rust programming language
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
Writing Rust in Easy English, a Complete Beginner to Intermediate Rust Guide
A Gentle Introduction to Rust - Steve Donovan covers Beginner to Intermediate Rust
24 Days Of Rust - An older resource from 2014 - 2016 but still worth a read
What is Rust and why Rust? by O'Reilly
This Week in Rust - curated newsletter with latest articles, news and updates from the Rust community.
The Rust subreddit - a place for all things Rust: from beginner questions to advanced low level concepts, game development, wasm, web frameworks, etc.;
The Rust Programming Language by Knowledge Hub - Video Series Playlist
Introduction to Rust from basic to advanced by Tensor Programming - Video Series Playlist
Rust Programming Tutorials by dcode - Video Series Playlist
Learn the fundamentals of the Rust language in this Rust Crash Course by Traversy Media
Crust of Rust is a video series which makes intermediate Rust concepts understandable by diving into real examples and working code
An introduction to the Rust programming language through implementing a hashmap
Michael F. Bryan's articles on Rust
Cheat sheet for common types and what they convert into
How to build a blockchain-based cryptocurrency using Rust - Video Series Playlist
Learning Rust: Let's Build a Parser!
Building a DNS server in Rust, check on GitHub
Building a Rust Web Browser - Check Here
PNGme: An Intermediate Rust Project
Hecto: Build your own text editor in Rust
Writing a file system from scratch in Rust - Check Here
Good Practices for Writing Rust Libraries
So You Want to Build a Language VM - Check Here
Solana : Developing with Rust
Uses the bpfel-unknown-unknown
target triple, compiles to Berkeley Packet Format .so
Check out the Solana CLI
Learn more about parameter de-serialization & data types
Example programs for further study
NEAR : Getting Started
Uses the wasm32-unknown-unknown
target triple, compiles to WebAssembly .wasm
Check out the NEAR CLI
Check out the Learn tutorial - Write and deploy a smart contract in Rust