⚡ Zig Guide LiveUnofficialbut fully verified
✓ Zig 0.17.0What's newOn an older Zig?Blog

Blog

Posts about Zig, written on a date and against a named compiler. The chapters in the guide are kept current every night. Posts are not: each one shows the Zig version it was written against, so you can see how old it is. For a feed reader, posts are at blog/rss.xml.

  1. · Zig 0.17.0-dev.2056+79a9897cd

    The File That Was Not There

    A short story about a passphrase tool that worked on one laptop and failed on every other. The fix is @embedFile, and a word list the compiler checks line by line.

  2. · Zig 0.17.0-dev.2056+79a9897cd

    The 2 GB Log File at 11 PM

    A short story about an on-call engineer, a 2 GB log file, a server where nothing can be installed, and a 274 KB Zig program. Every program in it runs in your browser.

  3. · Zig 0.17.0-dev.2056+79a9897cd

    builtin.mode is deprecated: read builtin.optimize

    Zig master deprecated builtin.mode, builtin.cpu and builtin.os. Here is what replaces each one, and how to check your own compiler.