← All courses

Ziglings

The official Ziglings curriculum (https://codeberg.org/ziglings/exercises) — broken-program exercises that teach Zig by fixing small errors. Mirrored into Libre with each exercise's starter, patch-derived solution, and embedded task description preserved verbatim from upstream.

  • zig
  • 116 lessons
  • ~23 hours
  • Free

Learn zig for free on Libre Academy with the Ziglings course: 116 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source — no account required to start.
  • Runs in your browser, and offline in the free desktop app.

What's inside

  • Hello & Strings
  • Control Flow
  • Functions
  • Errors
  • Defer & Errdefer
  • Switch
  • Runtime Safety
  • Pointers
  • Arrays & Slices
  • Many-Item Pointers
  • Structs
  • Optionals
  • Unions
  • Numbers
  • Bit Manipulation
  • Labelled Loops
  • Inline Loops
  • Iteration
  • Enums
  • Quizzes & Catch-Up
  • Async (Pre-0.11)
  • Anonymous Structs & Tuples
  • Vectors
  • Files & I/O
  • Allocators
  • Comptime
  • Generics & Type Erasure
  • Build System
  • Capstone

Start Ziglings free →   Browse all courses