What's new
New chapters, in the order they were published. Generated from the repository's history at build time, so it lists what shipped rather than what someone remembered to write down. The guide currently servesZig 0.17.0-dev.1503+1f1bee62e, and all 146 snippets were compiled and run against that build before this page existed.
Add the Operating System section: seven chapters, four in the browser
7 chaptersThe EnvironmentExitingA File Descriptor Is a NumberPipes Are the Child's StreamsSignalsSpawning a Process
Add Queues, Select, Locks and Choosing an Io
Add a Cancellation chapter, and teach async against concurrent
1 chapterCancellation
Add the Networking section: sockets, framing, protocols, many clients
7 chaptersBinary Protocols and Byte OrderThree Ways to FrameServing Many ClientsFailure Is OrdinaryBytes Have No EdgesA Text Protocol, Both Directions
Add a Data Structures section
6 chaptersKeeping It BalancedA Binary Search TreeMaking It GenericA Hash Map from ScratchA Linked List by HandThe Lists in std Are Intrusive
Add three more image-processing chapters
3 chaptersHistograms and LevelsMedian and Rank FiltersScaling and Resampling
Add three image-processing chapters to Graphics
Add a Graphics section: software rendering from an empty buffer
8 chaptersAntialiasingAlpha BlendingCirclesWriting an Image FileLinesOnto the Screen
Add a WebAssembly section: explainer plus five recipes
6 chaptersRecipe: Loading wasm in the BrowserRecipe: Calling Zig from JavaScriptRecipe: A Freestanding ModuleRecipe: Passing Data Across the BoundaryRecipe: A WASI CommandWhat WebAssembly Is
Add a zlib compression recipe; generalize C linking to header != lib
1 chapterRecipe: Compressing with zlib
Add a file-backed to-do store recipe
1 chapterRecipe: A File-Backed To-Do Store
Add a PostgreSQL wire-protocol recipe to the Databases section
1 chapterhow-to/postgres-wire
Add a Redis RESP round-trip recipe to the Databases section
1 chapterhow-to/redis-resp
Add a Databases section, starting with SQLite over the C API
1 chapterhow-to/sqlite-basic
Add five How-To recipes ported to current Zig master
5 chaptersRecipe: A Custom JSON SerializerRecipe: The std.math ToolboxRecipe: Struct Memory LayoutRecipe: JSON vs Binary, by SizeRecipe: Vector Algebra
Fill coverage gaps: command-line args, logging, dependencies
Add a chapter explaining the Io interface itself
1 chapterThe Io Interface
Expand the Standard Library section and add site search
8 chaptersBit Sets and Enum CollectionsMultiArrayListParsing and EncodingPriorityQueueStringsTesting
Add a SIMD byte scanning recipe and enable simd128 in the shipped wasm
1 chaptercookbook/simd-scan
Open the ORM group with an Ecto primer for non-Elixir readers
1 chapterbuilding-libraries/orm/what-is-ecto
Complete the ORM group: writes, dialects, migrations, repo, transactions
5 chaptersbuilding-libraries/orm/adaptersbuilding-libraries/orm/insert-updatebuilding-libraries/orm/migrationsbuilding-libraries/orm/repobuilding-libraries/orm/transactions
Start a Building Libraries section with an Ecto-style ORM group
3 chaptersbuilding-libraries/orm/query-builderbuilding-libraries/orm/schema-to-sqlbuilding-libraries/orm/validation-rules
Add an HTTP round-trip recipe: std.http over the Io interfaces
1 chaptercookbook/http-roundtrip
Add networking recipes, and make native .expected files actually bite
2 chapterscookbook/tcp-echocookbook/udp-message
Add tier-2 cookbook recipes: threads, atomics, and Io.Queue
3 chapterscookbook/parallel-sumcookbook/work-indexcookbook/worker-queue
Add three more cookbook recipes: ring buffer, bit sets, seeded PRNG
3 chapterscookbook/bitsetscookbook/ring-buffercookbook/seeded-random
Add a cookbook section: seven problem-first recipes
7 chapterscookbook/binary-roundtripcookbook/catching-leakscookbook/checked-mathcookbook/json-configcookbook/simd-sumcookbook/struct-printer
Add a migration page instead of a version dropdown
1 chapterComing from an Older Zig
Complete Getting Started, Build System, and Working with C
11 chaptersBuild ModesCross-compilationEmitting an ExecutableGenerating DocumentationZig BuildInstallation
Complete the Standard Library section, and add a native-target mode
14 chaptersAdvanced FormattingArrayListConcurrencyCryptoFilesystemFormatting
Complete the Language section: comptime, vectors, imports, and the rest
13 chaptersanonymous-structscomptimefloatsimportsinline-loopsinteger-rules
Language basics: pointers, slices, enums, structs, unions
7 chaptersenumsmany-item-pointerspointer-sized-integerspointersslicesstructs
Language basics: assignment through runtime safety
10 chaptersarraysassignmentdefererrorsfor-loopsfunctions
Verified Zig guide: snippet pipeline, browser playground, dev tooling
3 chaptersallocatorshello-worldoptionals
Older changes are in the repository's history. The nightly build runs at 06:00 UTC against Zig master, so a day with no entry here is a day the compiler changed nothing this guide depends on. The same list, for a feed reader, is at rss.xml, and the guide itself starts at the section list.