Rust Learning Track

Overview

Learning Rust with focus on systems programming and eventual Linux kernel contribution (Rust for Linux).

Learning Path

Phase Focus Status

Fundamentals

Ownership, borrowing, lifetimes

In Progress

Systems

Memory management, unsafe, FFI

Pending

no_std

Embedded, kernel-style programming

Pending

R4L

Rust for Linux patterns

Pending

Resources

Key Concepts

Ownership Model

  • Each value has exactly one owner

  • Value dropped when owner goes out of scope

  • Move semantics by default (no implicit copies)

Borrowing Rules

  • One mutable reference OR any number of immutable references

  • References must always be valid

  • No dangling pointers possible

Error Handling

  • Result<T, E> for recoverable errors

  • Option<T> for nullable values

  • panic! for unrecoverable errors