Course · 4 lessons ~48 hr Intermediate

Zig Foundations

Zig Foundations covers: Learning Zig. Learn Zig's philosophy of explicit control, allocators, comptime, and C interoperability. Understand why "no hidden control flow" matters. | Ruby/Rails | Zig | |-----------|-----| | GC handles all memory | You choose an allocator for every allocation | | nil crashes at runtime | Optionals are explicit: ?T | | begin/rescue | Error unions: !T + try + catch | | Metaprogramming (define_method, method_missing) | Comptime: evaluated at compile time, zero runtime cost | | gem install foo | zig fetch + build.zig.zon (no central registry yet) | | C extensions (native gems) | Direct C interop — just @cImport the header | | bundle exec rails server | Single static binary, zero dependencies |

reading · we frame, you read MIT or the canonical taught · we author, no canonical fits ↺ spirals back to earlier lessons
Course locked

Complete Rust in Production first.

This course unlocks once you've finished its prerequisite. Open prerequisite →

4 lessons. Read in order; spiral back when you need to. By the end you'll have used the core ideas twice — once on the abstract, once on something you'll meet at work next week.