Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rust Secure & System Programming


🎯 Course Goals

Course Objectives

  • Làm chủ nguyên lý cốt lõi của Rust (ownership, borrowing, lifetimes).
  • Thành thạo async/concurrency với Rust (Tokio/Futures).
  • Biết cách dùng crate phổ biến (serde, reqwest, clap, tokio).
  • Viết được tool CLI, network service, crawler thực tế.
  • Hiểu và tránh pitfalls: data race, unsafe misuse, anti-patterns.
  • Biết migrate code theo Rust edition & crates mới nhất.

👥 Audience

Who Should Take This Course

  • Backend/system developers muốn tìm hiểu Rust từ nền tảng đến ứng dụng.
  • DevOps/SRE cần công cụ CLI hiệu năng, an toàn.
  • Security engineers quan tâm Rust trong context phòng thủ.

📖 Lessons

(các lesson tiếp theo sẽ bổ sung dần)


📂 Repository

Source Code Repository

Repo sẽ chứa:

rust-lessons/
├─ lesson01-ownership/
│ ├─ Cargo.toml
│ └─ src/
│ └─ main.rs
├─ lesson02-error-handling/
└─ ...


🧭 How to Study

Study Guide

  • Đọc Q&A trước để nắm khái niệm.
  • Chạy Example để thấy kết quả.
  • Làm Exercises (từ dễ đến khó).
  • Đọc Migration Notes để quen với việc update.
  • Xem Glossary khi gặp thuật ngữ mới.

Pro Tip

Hãy commit code bài tập vào repo riêng, để tự tạo “Rust journey” của bạn.