Urgent.News

What's breaking now, across thousands of outlets.

Tech

Zig v0.17.0

Zig, a general-purpose programming language and toolchain for creating reliable software, has reached version 0.17.0. This release is the culmination of five months of work from 206 different contributors who made 925 commits. The Zig Software Foundation, a 501(c)(3) non-profit organization, funds the development of Zig. This release includes significant improvements, such as the reworked Build System and the enhanced ELF Linker, enabling Incremental Compilation for x86_64-linux.

The support for various targets is categorized into four tiers, with Tier 1 targets expected to have zero disabled tests for post-1.0.0 Zig releases. The standard library has minimum version requirements for certain operating systems, which affect the Zig compiler. A notable change in this release is the definition of the @bitCast builtin, which reinterprets the logical bit representation of a value as a different type.

This change may break existing code involving array or vector types, so it is recommended to audit such uses during the upgrade process. The @cImport feature has been deprecated and removed, and std.Build.Step.TranslateC has been deprecated in favor of an independent release cadence package. The @backingInt and @fromBackingInt builtins have been introduced to replace the deprecated @intFromEnum and @enumFromInt builtins.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at ziglang.org →

More in Tech

Authentication με Microsoft Entra ID σε ASP.NET Core

Από το Login μέχρι το [Authorize]: η πραγματική αρχιτεκτονική πίσω από το Enterprise Authentication Στις σύγχρονες enterprise εφαρμογές, το authentication δεν αποτελεί πλέον απλώς έναν μηχανισμό όπου…

More from Friday 2 October →