Skip to content
ziglang.org·

🚀Zig 0.17.0 Adds Build Server Protocol and Enhanced ELF Linker

Zig's latest release brings major improvements for cross-compilation

TL;DR

Zig 0.17.0 introduces the Build Server Protocol and an enhanced ELF Linker, enabling Incremental Compilation for x86_64-linux. The release also includes a reworked Build System and a new Target Support Tier System.

Zig 0.17.0 is out, featuring the Build Server Protocol and an enhanced ELF Linker, enabling Incremental Compilation for x86_64-linux. This release is a game-changer for cross-compilation, especially for developers working on diverse architectures. The Target Support Tier System categorizes Zig's support for various targets into four tiers, with Tier 1 being the highest, ensuring all non-experimental language features work correctly. Key details include 206 contributors and 925 commits over 5 months. Zig now supports a wide range of architectures and operating systems, including early xtensa-linux support and generally usable 64-bit SPARC support.

Key Points

1

Zig 0.17.0 includes 925 commits from 206 contributors over 5 months.

2

The Build Server Protocol and enhanced ELF Linker enable Incremental Compilation for x86_64-linux.

3

Target Support Tier System categorizes Zig's support into four tiers, with Tier 1 being the highest.

4

Zig now supports a wide range of architectures and operating systems, including early xtensa-linux support.

5

Generally usable 64-bit SPARC support is now available.

Why It Matters

If you're working on cross-compilation for diverse architectures, Zig 0.17.0's Build Server Protocol and enhanced ELF Linker are a must-have. The Target Support Tier System ensures consistent performance across different platforms, making it easier to manage complex projects. For example, Tier 1 targets like aarch64-openbsd now have full support, while Tier 2 targets like aarch64-freebsd provide robust stack traces.

zigcross-compilationelf-linkerbuild-server-protocoltarget-support-tier

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,550 builders reading daily.

Also get