Thuta Learning
ရှာဖွေရန်
Programmingbeginnerrustsystems-programmingmemory-safetycargoconcurrencyprogramming

Rust

Rust ကို installation နှင့် ownership အခြေခံမှ structs, traits, generics, lifetimes, concurrency, async အထိ သင်ပေးပြီး CLI tool, Axum API, concurrent batch-processing hands-on projects များပါဝင်သော tutorial ၂၅ ခန်း။

25 သင်ခန်းစာများ · 750 မိနစ် · Learning Platform Editorial Team

Getting Started — Rust Course လမ်းညွှန်

လက်ထဲမှာ ဘာရှိရင် ရပြီ

  • rustup (official toolchain installer) ဖြင့် Rust
  • Code editor (VS Code + rust-analyzer အကြံပြု)
  • cargo (rustup ဖြင့် auto-install ဖြစ်) — build/run/test အတွက်
  • External service သို့ account မလိုအပ်—ဒီ course တစ်ခုလုံး local မှာ run နိုင်သည်

မစခင် ဒီလောက်ပဲ သိထားပါ

  • အခြား programming language တစ်ခုခုရဲ့ အခြေခံ (variables, functions, loops) ကို နားလည်ရန်
  • Rust သို့ systems programming အတွေ့အကြုံ မလိုအပ်ဘဲ စတင်နိုင်သည်
  • C သို့ C++ အတွေ့အကြုံ မလိုအပ်—memory concept များကို ဒီ course ကိုယ်တိုင်က basic ကနေ ရှင်းပြပေးမည်
  • Terminal သုံးတတ်ရန်

ဒီသင်တန်းပြီးရင် ကိုယ်ဘာလုပ်တတ်မလဲ

  • Rust ရဲ့ ownership, move, borrowing rule များကို ရှင်းပြနိုင်ပြီး GC မလိုအပ်ဘဲ memory-safe code ရေးနိုင်ခြင်း
  • Struct, enum, Option/Result ဖြင့် data model ဆောက်နိုင်ပြီး `?` operator ဖြင့် recoverable error handle နိုင်ခြင်း
  • Generic, trait-bounded code ရေးနိုင်ပြီး monomorphization/zero-cost abstraction ကို နားလည်ခြင်း
  • Lifetimes, smart pointers (Box/Rc/RefCell), iterators/closures ကို ယုံကြည်စွာ အသုံးပြုနိုင်ခြင်း
  • Threads/channels ဖြင့် safe concurrent code ရေးနိုင်ပြီး tokio ဖြင့် async/await အခြေခံကို နားလည်ခြင်း
  • CLI tool, Axum API endpoint, concurrent batch processor လို real Rust project ငယ်လေးများ ဆောက်/test နိုင်ခြင်း