학습 경로

소유권과 빌림

이동, 참조, 슬라이스, 라이프타임, 스마트 포인터. 가비지 컬렉터 없이 Rust의 메모리 안전성을 지키는 개념입니다.

레슨 5개 · 챌린지 7개

  1. 레슨 챌린지 1개 Ownership and Moves Learn the rule behind Rust's memory safety: every value has one owner.
  2. 레슨 챌린지 2개 References and Borrowing Let a function use a value without taking ownership of it.
  3. 레슨 챌린지 2개 Slices Borrow part of a string or array without copying it.
  4. 레슨 챌린지 1개 Lifetimes Tell the compiler how long references stay valid with lifetime annotations.
  5. 레슨 챌린지 1개 Smart Pointers: Box and Rc Put data on the heap with Box and share ownership with Rc.