Hasty Briefsbeta

Zig 0.15.1 Release Notes

4 days ago
  • #programming
  • #compiler
  • #performance
  • Zig is a general-purpose programming language for robust, optimal, and reusable software.
  • Development is funded via the Zig Software Foundation, a non-profit organization.
  • Zig 0.15.x features 5 months of work with contributions from 162 contributors across 647 commits.
  • Debug compilation is 5 times faster with Zig's x86 Backend selected by default.
  • Zig supports a wide range of architectures and operating systems, categorized into four tiers of support.
  • Significant breaking changes include the removal of `usingnamespace` and changes to async/await handling.
  • New I/O interfaces (`std.Io.Reader` and `std.Io.Writer`) replace older generic readers and writers.
  • Zig's self-hosted x86_64 code generation backend is now default in Debug mode for faster compilation.
  • Incremental Compilation improvements allow faster rebuilds by recompiling only changed code.
  • Parallel compilation enhances performance by running Semantic Analysis, Code Generation, and Linking in parallel.
  • New CLI options for UBSan mode control (`-fsanitize-c=trap` and `-fsanitize-c=full`).
  • Zig 0.15.x upgrades to LLVM 20.1.8 and introduces cross-compilation improvements for FreeBSD and NetBSD.
  • Future focus includes async I/O and aarch64 backend improvements for Zig 0.16.0.