HeadlinesBriefing HeadlinesBriefing.com

Zig 0.17.0 Release Notes: Build System, ELF Linker

Hacker News •
×

Zig 0.17.0 is now available, featuring 5 months of work from 206 contributors across 925 commits. This release includes a reworked Build System with the new Build Server Protocol, and an enhanced ELF Linker enabling Incremental Compilation on x86_64-linux.

Language changes include added @bitCast changes, formally specified and fuzzed grammar, C translation moving to an external package, new @backingInt and @fromBackingInt, @spirv type, removed array multiplication syntax, and more. Standard library updates introduce a Safe Allocator, reworked Stack Fallback Allocator, and improved formatting.

The Build System now separates the maker process from the configurer process, with a reworked cache system and configure cache poisoning. Package management adds the ability to override package paths, and the compiler introduces incremental compilation, SPIR-V backend, and improved aarch64, loongarch, and WebAssembly backends.

Toolchain updates include LLVM 22, musl 1.2.5, glibc 2.44, Linux 7.2 headers, macOS 27.0 headers, and more. Notable fixes address an LLVM bug affecting aarch64-windows binaries and add stack traces on crashes for 32-bit ARM. The release also introduces a --complexity flag for zig fmt and moves Windows resource compilation to an external package.

Source: Hacker News · Summarized by HeadlinesBriefing