Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn Rust Programming - Complete Course

via freeCodeCamp

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Embark on a comprehensive 14-hour journey into Rust programming, designed for beginners. Explore core language concepts and underlying mechanisms through theoretical explanations and practical examples. Dive into topics such as variables, ownership, borrowing, structs, enums, generics, traits, and more. Learn about Rust's unique features like the Option enum, pattern matching, and lifetimes. Gain proficiency in working with strings, vectors, and hashmaps. Understand error handling with panic! and Result. Discover how to use Cargo for project management and create modular code. Master advanced concepts like closures and iterators. Access additional resources including practice exercises and code samples to reinforce your learning.

Syllabus

Introduction & Learning Resources
Variables
Numbers & Binary System
Chars, Bools & Unit Types
Statements & Expressions
Functions
Ownership
Borrowing
String vs. &str
Slices
Tuples
Structs
Enums
The "Option" Enum
Flow Control
Pattern Match
Methods & Associated Functions
Generics
Traits
Trait Objects
Associated Types
String
Vectors
HashMaps
Type Coercion
From & Into
panic!
Result
Cargo, Crates & Modules
Debug & Display
Lifetimes
Lifetime Elision
Closures
Iterators
Because of the `move` keyword the closure actually takes ownership of the `movable` variable, not an immutable reference. The reason we can call the closure twice is because the `movable` variable INSIDE the closure is the owner of the data. Meaning we can call the closure any number of times.

Taught by

freeCodeCamp.org

Reviews

5.0 rating, based on 4 Class Central reviews

Start your review of Learn Rust Programming - Complete Course

  • This course was really helpful and it is highly recommended. This happens to be my first course on my journey of becoming a rustacean. Thanks a million times.
  • Profile image for Pam W
    Pam W
    It is really streamlined but in detail.
    An absolute gem! It breaks down complex concepts into easy, digestible parts, making it a breeze to follow along. The examples are practical and well-explained, helping me gain confidence quickly in using Rust’s unique features. Highly recommend for anyone looking to dive into Rust with a hands-on approach!
  • After rustlings I catched some valuable things for me. Recommended for all who want start learn Rust.
  • HariprasathGanapathi
    "I appreciate the platform for its clear lessons and supportive community that made learning Rust enjoyable!"

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.