Safe Systems ProgrammingStructured Curriculum• 18 Lessons

Rust Tutorial

What is Rust?

Rust is a programming language for building reliable and efficient software, with zero-cost abstractions and memory safety.

This free Rust tutorial is organized into 4 levels and 18 lessons, from beginner fundamentals to expert topics, with an in-browser code sandbox and a Rust quiz.

Rust Syllabus: Lessons by Level

Four levels, from beginner fundamentals to expert topics and a capstone project.

Rust Code Sandbox

Edit and run code without installing anything. Server-side execution supports JavaScript, TypeScript, Python, C, C++, Java, PHP, Go, Bash and SQL; HTML and CSS render as a live preview.

Engine: RUST
2
Loading...

Running Rust (view only) code isn't supported in this sandbox yet. You can read, edit and copy this example. Languages you can run here: JavaScript, TypeScript, Python, C, C++, Java, PHP, Go, Bash, SQL, HTML and CSS.