Skip to content

dangdat1111/rust-lover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-lover

Repo cá nhân để học và thực hành ngôn ngữ lập trình Rust — từ cơ bản đến nâng cao.

Mục tiêu

  • Nắm vững ownership, borrowing, và lifetime
  • Hiểu hệ thống kiểu (type system) mạnh mẽ của Rust
  • Thực hành viết code an toàn, hiệu năng cao
  • Xây dựng các project nhỏ để củng cố kiến thức

Cấu trúc (dự kiến)

rust-lover/
├── basics/          # Biến, kiểu dữ liệu, hàm, control flow
├── ownership/       # Ownership, borrowing, slices
├── structs/         # Struct, enum, pattern matching
├── collections/     # Vec, HashMap, String
├── error_handling/  # Result, Option, ? operator
├── generics/        # Generics, traits, lifetimes
├── closures/        # Closures, iterators
├── concurrency/     # Threads, async/await
└── projects/        # Các mini project thực hành

Chủ đề theo lộ trình

# Chủ đề Trạng thái
1 Variables & Data Types
2 Functions & Control Flow
3 Ownership & Borrowing
4 Structs & Enums
5 Pattern Matching
6 Collections
7 Error Handling
8 Generics & Traits
9 Lifetimes
10 Closures & Iterators
11 Smart Pointers
12 Concurrency
13 Async / Await

Chạy code

Cài Rust qua rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Chạy một file bất kỳ:

cd <thư-mục>
cargo run

Chạy tests:

cargo test

Tài nguyên học

License

MIT

About

rust-lover

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors