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

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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 9 Class Central reviews

Start your review of Learn Rust Programming - Complete Course

  • After rustlings I catched some valuable things for me. Recommended for all who want start learn Rust.
  • 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.
  • Balaji Marimuthu
    GOOD TO STUDY AS A BEGINNER CAN BE AS A MASTER IN THIS RUST BY LEARNING FROM SCRATCH AND IT WILL BE THE MOST UNDERRATED WEBSUITE TO LEARN NEW THINGS AS WELL RUST LANGUAGE
  • Profile image for Challa Tanmay
    Challa Tanmay
    The Rust programming course by freeCodeCamp.org is an excellent introduction to one of the most modern and powerful systems programming languages. The instructor explains complex topics like ownership, borrowing, and lifetimes in a clear and beginner-friendly way. The course is well-structured, covering fundamentals and practical examples that help reinforce each concept. It’s ideal for developers coming from other languages who want to understand Rust’s safety and performance advantages. Best of all, it’s completely free and accessible on YouTube. Whether you're new to Rust or need a refresher, this course is a solid resource to build a strong foundation.
  • Profile image for Pam W
    Pam W
    1
    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!
  • Profile image for Noor Khalil
    Noor Khalil
    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 247Y1A6651 RADHARAPU SHASHIRAM
    247Y1A6651 RADHARAPU SHASHIRAM
    good platform to learn and very helpful for students. easy way of clarificatio given in this app. also free of cost is very benificial to all.
  • Rendra Purnama
    this course is very complete and helping me for increasing skill and knowledge about rust language programming
  • 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.