Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Rust: The Complete Developer's Guide

Rust: Hướng Dẫn Toàn Diện Cho Nhà Phát Triển

Rust: Hướng Dẫn Toàn Diện Cho Nhà Phát Triển

Trở thành kỹ sư Rust. Hiểu về ownership, lifetimes, traits, generics và hơn thế nữa thông qua các dự án thực tế

4.7
(2,066 đánh giá)
13,310 học viên
Giảng viên
Stephen Grider
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
121 bài giảng
11 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 29/05/2026

Bạn sẽ học được gì

Làm chủ hệ thống ownership độc đáo và quy tắc mượn dữ liệu (borrowing) của Rust để quản lý bộ nhớ hiệu quả
Hiểu và triển khai các kiểu enum mạnh mẽ cùng cơ chế pattern matching của Rust
Thành thạo việc tạo và tổ chức dự án Rust bằng hệ thống module
Học cách xử lý lỗi hiệu quả với kiểu Result và các kỹ thuật xử lý lỗi khác
Trở thành chuyên gia trong việc sử dụng hệ thống iterator của Rust để xử lý dữ liệu hiệu quả
Khám phá các khái niệm nâng cao về lifetime để quản lý các mối quan hệ bộ nhớ phức tạp
Triển khai generic types và traits để viết code linh hoạt, tái sử dụng được
Hiểu sự khác biệt giữa các cấu trúc dữ liệu trong Rust như arrays, vectors và slices
Học cách làm việc với các crate bên ngoài để mở rộng chức năng cho chương trình Rust
Phát triển kỹ năng thực tế qua các dự án và bài tập thực hành, bao gồm thao tác nhập/xuất file

Yêu cầu

Có kinh nghiệm với một ngôn ngữ lập trình khác, như Javascript, Python, Go hoặc tương tự

Đối tượng phù hợp

Dành cho kỹ sư muốn học những kiến thức cơ bản về Rust

Nội dung khóa học

11 phần • 121 bài giảng
1 Giới thiệu
2 Cài đặt Rust
3 Cài đặt Rust trên máy cá nhân
4 Tạo và chạy dự án Rust
5 Tắt gợi ý kiểu dữ liệu (Inlay Type Hints)
6 Tài nguyên khóa học
1 Biểu diễn dữ liệu với Structs
2 Thêm chức năng cho Structs
3 Arrays so với Vectors
4 Ràng buộc có thể thay đổi (Mutable) và không thể thay đổi (Immutable)
5 Implementations và Methods
6 Câu lệnh trả về ngầm định (Implicit Returns)
7 Cài đặt External Crates
8 Sử dụng code từ Crates
9 Xáo trộn một Slice
10 Chia tách một Vector
11 Ôn tập dự án
1 Tổng quan dự án
2 Định nghĩa Structs
3 Thêm Inherent Implementations
4 Một lỗi bí ẩn
5 Cập nhật giá trị không mong muốn
6 Mục tiêu của Ownership và Borrowing
7 Kiến thức cơ bản về Ownership
8 Hình dung về Ownership và Moves
9 Tổng quan bài tập
10 Lời giải bài tập
11 Một bài tập nhanh khác
12 Lời giải bài tập nhanh
13 Viết code hữu ích với Ownership
14 Giới thiệu hệ thống Borrow
15 Tham chiếu không thể thay đổi (Immutable References)
16 Bài tập về References
17 Lời giải bài tập References
18 Tham chiếu có thể thay đổi (Mutable References)
19 Bài tập về Mutable Refs
20 Lời giải bài tập Mutable Refs
21 Các giá trị có thể sao chép (Copy-able)
1 Kiến thức cơ bản về Lifetimes
2 Quyết định kiểu đối số
3 Quay lại với Bank Implementation
4 Triển khai chức năng Nạp tiền và Rút tiền
5 Triển khai Accounts và Bank
6 Tổng kết dự án
1 Tổng quan dự án
2 Định nghĩa Enums
3 Khai báo giá trị Enum
4 Thêm Implementations cho Enums
5 Pattern Matching với Enums
6 Khi nào nên dùng Structs so với Enums
7 Thêm mục vào Catalog
8 Các trường không có nhãn (Unlabeled Fields)
9 Enum Option
10 Option từ một góc nhìn khác
11 Thay thế Enum tự định nghĩa bằng Option
12 Các cách khác để xử lý Options
13 Tổng quan bài tập
14 Lời giải bài tập
1 Tổng quan về Modules
2 Quy tắc của Modules
3 Tái cấu trúc với nhiều Modules
1 Tổng quan dự án
2 Đọc một file
3 Enum Result
4 Enum Result trong thực tế
5 Các loại lỗi
6 Pattern Matching trên Results
7 Các biến thể OK rỗng (Empty OK Variants)
8 Bài tập về Enum Result
9 Lời giải bài tập
10 Sử dụng Result khi đọc file
11 Chuỗi phức tạp (Tricky Strings)
12 Stack và Heap
13 Strings, String Refs và String Slices
14 Khi nào nên dùng loại String nào
15 Tìm Error Logs
16 Hiểu vấn đề
17 Sửa lỗi liên quan đến String Slices
18 Ghi dữ liệu vào file
19 Các lựa chọn thay thế cho Nested Matches
20 Toán tử Try
21 Khi nào nên dùng mỗi kỹ thuật
1 Tổng quan dự án
2 Kiến thức cơ bản về Iterators
3 Sử dụng vòng lặp For với Iterators
4 Iterator Consumers
5 Iterator Adaptors
6 Vector Slices
7 Nhắc lại về Ownership và Borrowing
8 Iterators với Mutable Refs
9 Mutable Vector Slices
10 Thu thập phần tử từ một Iterator
11 Cách thức hoạt động của Collect
12 Chuyển quyền sở hữu với Into_Iter
13 Inner Maps
14 Nhắc lại về Lifetimes
15 Tổng kết về Iterators
16 Bài tập Collect
17 Lời giải bài tập
18 Phương thức Filter
19 Lời giải bài tập Filter
1 Chú thích Lifetime (Lifetime Annotations)
2 Một chú thích bị thiếu
3 Ôn tập các quy tắc Borrowing
4 Chú thích Lifetime thực sự là gì
5 Các câu hỏi thường gặp về Lifetimes
6 Lifetime Elision
7 Các Lifetimes phổ biến
1 Thiết lập dự án
2 Vấn đề với các kiểu số
3 Kiến thức cơ bản về Generics
4 Ràng buộc Trait (Trait Bounds)
5 Nhiều kiểu Generics
6 Tăng cường tính linh hoạt
7 Tổng quan ứng dụng
8 Xây dựng Giỏ hàng (Basket)
9 Generic Structs
10 Tìm hiểu thêm về Generic Structs
11 Triển khai một trait
12 Ràng buộc Trait với Generics (Bài giảng cuối)
1 Phần thưởng!

Giới thiệu khóa học

Welcome to the most comprehensive and hands-on course for learning Rust from the ground up!

Rust is revolutionizing systems programming with its focus on memory safety, concurrency, and performance. But with its unique concepts and syntax, many find Rust challenging to learn. That's where this course comes in – providing you with a clear, structured path to Rust mastery.

What sets this course apart? We focus on building a rock-solid foundation in Rust's core concepts. No fluff, no skipping steps – just pure, essential Rust knowledge that will set you up for success in any Rust project.


Rust's most challenging concepts are covered:

  • Rust's ownership model? Explained in great detail!

  • Lifetimes and borrowing? Its here!

  • Traits and generics? You'll use them to write flexible code


This course is designed for developers who want to truly understand Rust, not just copy-paste code. Whether you're coming from Javascript, Python, or any other language, you'll find a welcoming introduction to Rust's unique paradigms.


Rust has been voted the "most loved programming language" in the Stack Overflow Developer Survey for seven consecutive years. It's not just hype – major companies like Microsoft, Google, and Amazon are increasingly adopting Rust for critical systems. By mastering Rust, you're not just learning a language; you're future-proofing your career.


Here's a (partial) list of what you'll learn:

  • Dive deep into Rust's type system and how it ensures memory safety

  • Master pattern matching and destructuring for elegant, expressive code

  • Harness the power of Rust's error handling with Result and Option types

  • Explore Rust's module system to organize and scale your projects

  • Implement common data structures and algorithms the Rust way

  • Use cargo to manage dependencies and build your projects with ease

  • A solid grasp of Rust's syntax and core concepts

  • The ability to write safe, efficient, and idiomatic Rust code

  • Confidence to tackle real-world Rust projects and contribute to the ecosystem

  • A deep and fundamental understanding of error handling

  • The skills to optimize code for performance and memory usage

  • And much more!


How This Course Works:

This isn't just another "follow along" coding course. We've structured the learning experience to ensure you truly internalize Rust's concepts:

  1. Concept Introduction: Clear, concise explanations of each Rust feature

  2. Live Coding: Watch as we implement concepts in real-time, explaining our thought process

  3. Challenges: Test your understanding with carefully crafted coding exercises

  4. Project Work: Apply your skills to build progressively complex projects

  5. Best Practices: Learn idiomatic Rust and industry-standard coding patterns


This is the course I wish I had when I was learning Rust. A course that focuses on the hardest parts, gives clear explanations, and discusses the pros and cons of different design options. Sign up today and join me in mastering Rust!

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Memory Management
Hiển thị tất cả khoá học Programming Languages
Hiển thị tất cả khoá học Rust
Hiển thị tất cả khoá học Systems Programming
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊