Blog
Posts about Zig. Each post has a date and a named compiler. Every night, CI keeps the chapters of the guide current, but not the posts. Each post shows the Zig version that it was written against, so you can see the age of the post. For a feed reader, the posts are at blog/rss.xml.
The Check That Stopped Checking
A comptime guard in a small library stopped working after a refactor, and no test failed. The fix is a build step that requires a compile error.
The File That Was Not There
A short story about a passphrase tool that worked on one laptop and failed on all others. The fix is @embedFile and a word list that the compiler checks.
The 2 GB Log File at 11 PM
A short story about an on-call engineer, a 2 GB log file, a server with no installs, and a 274 KB Zig program. Each program in it runs in your browser.
builtin.mode is deprecated: read builtin.optimize
Zig master deprecated builtin.mode, builtin.cpu and builtin.os. This post shows what replaces each one, and how to examine your own compiler.