← 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's part of the free, open-source desktop app for macOS, Windows and Linux.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source, with no account required to start.
  • Works offline in the free desktop app for macOS, Windows and Linux.

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

Download to start Ziglings →   Browse all courses

Helpful reading

Why passive video doesn't make you a programmer  ·  Bring Your Own Book: turning any PDF into a course