Take your first steps with Rust

Beginner
Developer
Student
Visual Studio Code

Interested in learning a new programming language that's growing in use and popularity? Start here! Lay the foundation of knowledge you need to build fast and effective programs in Rust.

In this learning path, you'll:

  • Install the tools you need to write your first lines of Rust code.
  • Learn basic concepts in Rust.
  • Learn how to handle errors.
  • Manage memory in Rust.
  • Use generic types and traits.
  • Set up modules for packages and crates.
  • Write and run automated tests.
  • Create a command-line program.

Prerequisites

None

Modules in this learning path

Learn how to get started with Rust - set up the environment, write a program, and use the Cargo build system.

Learn the basics of Rust. Explore variables, data types, structs, enums, functions, indexing, hash maps, and flow control.

In this module, you'll learn about ways to handle errors in Rust.

Discover the features that make Rust so unique: ownership and borrowing.

Understand what generic types and traits are and how to use them in Rust.

Learn about how to effectively use modules and how to integrate with packages and third-party crates.

Learn about the types of testing you can do with Rust.

Create a command-line program to manage to-do list items.