Rust for C and Python Programmers
Required Lab
Lab not available
Rust for C and Python Programmers
Beginner
1. Introduction to Rust and Setup
-
1. Why Learn Rust: Advantages Over C and Python
-
2. Installing Rust and Setting Up the Development Environment
-
3. Your First Rust Program: Hello World and Cargo Basics
2. Core Rust Syntax and Concepts
-
1. Rust Data Types Compared to C and Python
-
2. Control Flow in Rust: If, Match, and Loops
-
3. Functions and Modules in Rust
3. Memory Management and Safety
-
1. Understanding Ownership and Borrowing in Rust
-
2. Comparing Rust's Memory Model to C's Pointers and Python's Garbage Collection
-
3. Managing References and Lifetimes
4. Data Structures and Error Handling
-
1. Common Rust Collections: Vectors, Strings, and HashMaps
-
2. Error Handling: Using Result and Option Types
-
3. Pattern Matching for Robust Code
5. Concurrency and Advanced Concepts
-
1. Introduction to Rust's Concurrency Model
-
2. Using Threads and Message Passing
-
3. Safe Concurrency Without Data Races
6. Practice Projects for Consolidation
-
1. Building a Simple CLI Tool in Rust
-
2. Implementing a Concurrent File Processor
-
3. Integrating Rust with Python or C Code