Zig v0.17.0
Article URL: https://ziglang.org/download/0.17.0/release-notes.html Comments URL: https://news.ycombinator.com/item?id=49938521 Points: 255 # Comments: 181
Zig version 0.17.0 has been released, featuring 5 months of work from 206 contributors across 925 commits. The Build System has been reworked, introducing the Build Server Protocol and enhancing the ELF Linker, which should enable Incremental Compilation for x86_64-linux users. Zig supports a wide range of architectures and operating systems, categorized into four support tiers, with Tier 1 targets having zero disabled tests.
A key change is the definition of the @bitCast builtin, which now reinterprets logical bit representation for various types, including array and vector types. This change may break existing code involving array or vector types, so users are advised to audit their @bitCast uses. Additionally, @cImport is deprecated and removed, and std.Build.Step.TranslateC is deprecated in favor of a separate package dependency.
New builtins @backingInt and @fromBackingInt replace deprecated @intFromEnum and @enumFromInt builtins.
Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- Zig v0.17.0 ziglang.org