Introduction

Completed

With the Rust programming language, you can build reliable and efficient systems software. Developers use Rust for networking software like web servers, mail servers, and web browsers. Rust is also present in compilers and interpreters, virtualization and software containers, databases, operating systems, and cryptography. You can use Rust to build games, command-line programs, web-assembly programs, and applications for embedded devices.

Rust is a safe alternative to existing systems software languages like C and C++. Like C and C++, Rust doesn't have a large runtime or garbage collector, which contrasts it with almost all other modern languages. However, unlike C and C++, Rust guarantees memory safety. Rust prevents many of the bugs related to incorrect use of memory you might see in C and C++.

Rust strikes a unique balance among performance, safety, and implementation expressions. No matter what your programming background, you'll likely find Rust has something to offer!

What's the best way to learn Rust?

Rust requires a bit of theoretical knowledge before you can productively write Rust code. Make sure to follow along with this course or other Rust learning resources before you start your development. After you reach a basic understanding of the language, practice writing code as much as possible. Type along with the exercises in this module and the others in this learning path.

We'll begin by learning the small, foundational concepts of the language. Then we'll build on the foundation with practice exercises and exploration. You'll create a few projects along the way, and by the end of the lesson, you'll have a solid grasp of the language.

Learning objectives

In this module, you'll learn:

  • Some of the unique features of Rust
  • Why developers choose Rust over other programming languages
  • The basic components and tools to build, compile, and run Rust programs
  • How to use the Rust playground