⚡ Zig Guide LiveUnofficialbut fully verified
✓ Zig 0.17.0-dev.1509+bb296ab9bWhat's newOn an older Zig?

References

8 sources outside this site, each one already linked from the chapter that needed it. Nothing here is a recommendation the guide has not made in prose, which is what keeps the list from turning into a directory.

The language itself

Every claim on this site is checked against the compiler below, on the nightly build. When a chapter and the standard library disagree, the standard library is right and the chapter is a bug.

  • ziglang.org

    The language home page, the official documentation, and the release notes.

  • Download a master build

    This guide tracks master, not a tagged release. The nightly tarballs are here.

    Linked from InstallationGetting Started

  • The Zig source, on Codeberg

    Where the standard library actually lives. Chapters cite it by file and line (std/mem.zig, std/Io/Writer.zig) so you can read the implementation behind a claim rather than take it on trust.

Where the standard library stops

Two libraries the guide names because std deliberately does not cover the ground and says so. Both are dependencies rather than part of the language, so neither is verified by this site's nightly build: they track the compiler on their own schedule.

  • zg

    Unicode text processing by Sam Atman: grapheme clusters, display width, case folding, normalization. std has none of these, and the tables are large enough that it is right not to. Split into modules so a program only pays for the ones it uses.

    Linked from Unicode RecipesStandard Library

  • zig-string

    A UTF-8 aware String type by Jakub Szark, MIT licensed, for when you want the shape of a string class rather than a slice of bytes and a set of free functions.

    Linked from String RecipesStandard Library

  • mecha

    A parser-combinator library by Jimmi Holst Christensen. The build system chapter uses it as its worked example of declaring and fetching a real dependency.

    Linked from DependenciesBuild System

Tools

Not required to follow the guide, worth having anyway.

  • ZLS, the Zig Language Server

    Completion, go-to-definition and inline errors in any editor that speaks LSP. Build it from source against the same compiler you use.

    Linked from InstallationGetting Started

Worth reading

Writing by other people that a chapter sends you to.

The guide itself starts at the section list.