A deep dive into the basics of Rust programming language
Free tutorial
Created by Jayesh Katta Ramalingaiah
English
Free
What you’ll learn
- You would be well versed and confident with the basics of Rust Programming Language.
Requirements
- The basic idea of any object-oriented programming language. Example: C++, Java
Description
Rust is a systems programming language sponsored by Mozilla which describes it as a “safe, concurrent, practical language“, supporting functional and imperative-procedural paradigms. Rust is syntactically similar to C++, but its designers intend it to provide better memory safety while still maintaining performance preventing segfaults, and guaranteeing thread safety. In this course, you will learn the basics of Rust programming language which would help you get started.
Who this course is for:
- Beginners in Rust Programming Language.
Course content
8 sections • 29 lectures • 2h 10m total lengthCollapse all sections
Introduction2 lectures • 2min
- Introduction00:57
- Prerequisite00:43
Installation1 lecture • 5min
- Installing Rust05:01
Hello world with Rust2 lectures • 8min
- Hello, World!02:57
- Hello, World! using Cargo (Rust Package Manager)05:08
- Hello, World! Quiz5 questions
Basic Concepts10 lectures • 43min
- Variables and Mutability03:47
- Scalar Data Types: Integers05:15
- Scalar Data Types: Floats02:14
- Compound Data Types: Tuples05:20
- Compound Data Types: Arrays02:41
- Functions04:14
- Returning a Value from a Function05:00
- Control Flow: if/else07:10
- Control Flow: While Loops04:15
- Control Flow: For Loops02:56
- Basic Concepts Quiz5 questions
Ownership in Rust4 lectures • 16min
- Ownership Rules03:03
- References and Borrowing04:40
- Race Conditions03:58
- Slices03:52
- Ownership in Rust Quiz3 questions
Data Handling and Pattern Matching in Rust6 lectures • 38min
- Using Structs05:48
- An example program using structs07:48
- Method Syntax06:55
- Enums04:06
- Enums with Multiple Types07:15
- Pattern Matching06:22
- Data Handling and Pattern Matching Quiz6 questions
Error Handling3 lectures • 17min
- Unrecoverable errors with panic!06:35
- Recoverable errors with Result introduction03:54
- Recoverable errors with Result demonstration06:49
- Error Handling Quiz4 questions
Conclusion1 lecture • 1min
- Next Steps01:24