hn.today

Zig v0.17.0

ziglang.org21 points2 comments
Screenshot of Zig v0.17.0

Zig 0.17.0 is a large new release produced over five months with contributions from 206 people and 925 commits. Major engineering work reworks the build system (introducing a Build Server Protocol, separating maker and configurer processes, and a redesigned cache with "configure cache poisoning"), overhauls the ELF linker, and advances incremental compilation so it works for x86_64-linux. The compiler gains multiple backends (SPIR‑V, aarch64, loongarch, WebAssembly), LLVM 22 integration, and toolchain updates (musl, glibc, OS headers). The linker suite, new testing framework, and other tools (zig cc, zig objdump, resinator) receive significant upgrades. Package management adds overrideable package paths and changed global vs local fetching behavior. The release notes also call out notable regressions and known bugs.

Platform support expands and shifts: many new or improved targets (loongarch32/64, 64‑bit SPARC, game consoles, early xtensa), native CI for aarch64-openbsd, enhanced CPU model detection, and stack traces on 32‑bit ARM and SPARC; support for some PowerPC 64/ABI combos was dropped due to long double/ELFv2 incompatibilities. Language and stdlib changes include new intrinsics and types (@backingInt, @fromBackingInt, @SpirvType, @divCeil), removal of array-multiplication syntax, removal of void{} syntax and errdefer capture, @hasDecl visibility change, SafeAllocator and StackFallbackAllocator rework, ArrayList pointer stability, formatted-printing improvements, and various deprecations and API renames.

Read on ziglang.org2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Hardly Promethean

Hardly Promethean

Decreasing costs of native app development and performance optimization shift the software bottleneck from coding to deployment and maintenance. Experts argue that while technology enables faster coding, managing and shipping updates remains a significant challenge. (jardo.dev)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.