bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/Rust

Rust

Rust Tutorial

Rust Tutorial focused on Rust Introduction and related concepts.

Lesson 1

Rust Tutorial

Rust is a popular programming language used to build everything from web servers to game engines.

Read lesson →Loading…
Lesson 2

Rust Introduction

Rust is a modern programming language.

Read lesson →Loading…
Lesson 3

Rust Get Started

However, if you want to download and install rust, you can go to rust-lang.org and follow the instructions there.

Read lesson →Loading…
Lesson 4

Rust Syntax

You have already seen the following code a couple of times in the first chapters. Let's break it down to understand it better:

Read lesson →Loading…
Lesson 5

Rust Output (Print Text)

To print text in Rust, you can use the println!() macro:

Read lesson →Loading…
Lesson 6

Rust Comments

Comments can be used to explain code, and to make it more readable. It can also be used to prevent execution when testing alternative code.

Read lesson →Loading…
Lesson 7

Rust Variables

Variables are containers for storing data values, like numbers and characters.

Read lesson →Loading…
Lesson 8

Rust Data Types

Unlike many other programming languages, variables in Rust do not need to be declared with a specified type (like "String" for text or "Int" for numbers, if you are familiar with those from C or Java…

Read lesson →Loading…
Lesson 9

Rust Constants

Constant variables are used to store values that never change.

Read lesson →Loading…
Lesson 10

Rust Operators

Operators are used to perform operations on values and variables.

Read lesson →Loading…
Lesson 11

Rust Booleans

Very often, in programming, you will need a data type that can only have one of two values, like:

Read lesson →Loading…
Lesson 12

Rust If .. Else Conditions

You already know that Rust supports familiar comparison conditions from mathematics, such as:

Read lesson →Loading…
Lesson 13

Rust Match

When you have many choices, using match is easier than writing lots of if...else .

Read lesson →Loading…
Lesson 14

Rust Loops

Loops can execute a block of code as long as a specified condition is reached.

Read lesson →Loading…
Lesson 15

Rust While Loops

The while loop runs as long as a condition is true .

Read lesson →Loading…
Lesson 16

Rust For Loop

When you know exactly how many times you want to loop through a block of code, use the for loop together with the in keyword, instead of a while loop:

Read lesson →Loading…
Lesson 17

Rust Functions

A function is a block of code that only runs when you call it.

Read lesson →Loading…
Lesson 18

Rust Scope

Scope refers to where a variable is allowed to be used.

Read lesson →Loading…
Lesson 19

Rust Strings

Strings are used to store text.

Read lesson →Loading…
Lesson 20

Rust Ownership

Rust uses "ownership" to manage memory in a safe way.

Read lesson →Loading…