본문으로 건너뛰기
아카데미
초급 코드 지구

Rust

빠르고 메모리 안전한 시스템 프로그래밍.

Rust gives you the speed of C and C++ without a garbage collector, and a compiler that stops whole families of memory bugs before your program ever runs. Parts of Firefox, Android, Windows and the Linux kernel are written in it, and developer surveys have named it the most admired language for years.

This intro course starts with Cargo and your first program, then teaches the ideas that make Rust different: ownership, borrowing, structs and enums, Option and Result, and the collections and iterators you use every day. The last module moves on to traits and generics, lifetimes, modules and tests, and threads. It uses the 2024 edition, every program in it was compiled and run, and every compiler error you see is the compiler's real message.

레슨
14
시간
2시간
난이도
초급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • Create, build and run projects with Cargo
  • Write functions, loops and decisions in Rust's expression style
  • Explain ownership, moves and borrowing, and fix the errors they cause
  • Model data with structs, enums and match
  • Handle missing values and failures with Option, Result and ?
  • Process lists and lookups with Vec, HashMap and iterators

여정

  1. 1
    챕터 1

    First steps

    Cargo, your first program, variables and types, functions and control flow.

    0 / 4
  2. 2
    챕터 2

    Ownership and types

    The ideas that make Rust safe: ownership, borrowing, your own types, Option, Result and collections.

    0 / 6
  3. 3
    챕터 3

    Next steps

    Traits, generics, lifetimes, modules, tests and threads: the road to real-world Rust.

    0 / 4

빠른 탐색