A personal playground to learn, explore, and experiment with the Rust programming language.
This repo is organized as a series of small, self-contained projects — from simple syntax demos to CLI tools and web backends.
As a Machine Learning Engineer, learning Rust offers:
- Systems-level control (great for performance-critical workloads)
- Memory safety without garbage collection
- Potential to build ML tooling or WebAssembly-backed inference
✅ Goal: Understand Rust syntax, memory model, and toolchain
| Week | Topic | Project Idea |
|---|---|---|
| 1 | Install + hello_world |
Print "Hello, Rustacean!" |
| 1 | Variables, Functions | Unit converter (e.g., km → mi) |
| 2 | Ownership & Borrowing | Text reversal tool |
| 2 | Structs, Enums | Basic task manager (CRUD) |
| 3 | Pattern Matching | FizzBuzz + file I/O |
| 3 | Collections | Word frequency counter |
✅ Goal: Build real-world utilities and CLI tools
| Week | Topic | Project Idea |
|---|---|---|
| 4 | Error Handling | CSV parser / summary tool |
| 4 | Modules & Crates | Random password generator |
| 5 | Traits & Generics | Pluggable calculator engine |
| 5 | Testing & Macros | Unit-tested CLI quiz |
✅ Goal: Understand web, async, and systems programming
| Week | Topic | Project Idea |
|---|---|---|
| 6 | Async / tokio |
File downloader with progress bar |
| 6 | Web APIs (actix / axum) |
Joke API server |
| 7 | WebAssembly | Web-based Rust calculator (via WASM) |
| 8 | FFI / C Interop | Call Rust from Python (or vice versa) |
brew install rustup
rustup-init
source $HOME/.cargo/env
rustc --versioncargo install cargo-edit # Add/remove dependencies easily
cargo install cargo-outdated # Show outdated cratesAuto-suggested by .vscode/extensions.json:
rust-analyzerCodeLLDBDependiRust Test LensError LensBetter TOMLBracket Pair Colorizer 2
- The Rust Book (Official)
- Rust by Example
- Crates.io (Libraries)
- Cheats.rs – Handy Cheatsheet
- Are We Learning Yet? (ML in Rust)
Created by Sagar — ML engineer exploring systems programming and low-level performance. Join my Newsletter - http://dhokla-express.beehiiv.com