Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

static

A value stored at one fixed place for the whole run.

A static item has a single fixed memory location that lives for the entire program.

Examples

  • static BUILD_NUMBER: u32 = 1042; is stored at one fixed address for the whole run, and println!("Build {BUILD_NUMBER}") prints Build 1042.

Read the full section →