zig-0.17

Installation
SKILL.md

Zig 0.17.0 Programming Guide

Version Scope: Pinned to Zig 0.17.0 (stable). Release Notes: https://ziglang.org/download/0.17.0/release-notes.html

Zig 0.17.0 advances language stability towards 1.0. Major highlights include replacing @intFromEnum/@enumFromInt with @backingInt/@fromBackingInt, moving type reflection (std.lang.Type) and container builtins to Struct-Of-Arrays (SoA) style, removing array multiplication syntax ** in favor of @splat, replacing DebugAllocator with the thread-safe SafeAllocator, moving fmt.allocPrint into mem.Allocator, decoupling C translation to an external package, and separating the Build System into distinct Configurer and Maker processes with fine-grained cache poisoning tracking.


Local Documentation First

Run zig env to discover local installation paths — never hardcode them:

  • Language Reference: <lib_dir>/../doc/langref.html
  • Std Library Source: Inspect source files under .std_dir for exact signatures.
  • Std Library Docs: Run zig std to launch the local documentation HTTP server.

Always check local docs or source before searching online.


Installs
16
Repository
zigcc/skills
GitHub Stars
47
First Seen
12 days ago