Zig 0.16.0 Release Notes

ska80 135 points 30 comments April 14, 2026
ziglang.org · View on Hacker News

Discussion Highlights (9 comments)

sionisrecur

The "Juicy Main" looks like a very nice QoL feature. Gets rid of all the boilerplate for allocators and argv.

_bohm

I've been waiting eagerly for this release ever since the new Io interface was announced. Pumped to start working on some new projects with this! Love this line from the release notes: > Lo! Lest one learn a lone release lesson, let proclaim: "cancelation" should seriously only be spelt thusly (single "l"). Let not evil, godless liars lead afoul.

xeubie

What a banger of a release. The new `Io` interface was a huge breaking change for my project, but I made the transition. Zig seems to be pulling the same trick it pulled with allocators: just make it an explicit value that you pass around. Explicit allocators felt obviously right in retrospect, and so far this feels obviously right too.

mihaelm

Obviously, I/O as an interface is the headliner here, but there are lots of other goodies to pay attention to, such as the "juicy main". Small integers auto coercing into floats is a nice gift to game devs. It's nice that game dev is acknowledged as one of the niches Zig can target as I believe it could really thrive there due to how easily it can integrate with C & C++. Or, rather, more easily than the alternatives.

slopinthebag

Have they said how many breaking changes requiring a rewrite Zig will be going through before it stabilises? Also I thought Zig doesn't have interfaces....how does the IO one work?

nesarkvechnep

Nice! I'm sad to see SegmentedList go. Also, I'm wondering if it's possible to use `recvmsg` and `sendmsg` backed by the new `Io` interface.

ksec

I/O, Linked, Incremental Compilation. Apart from 0.17 being a short release cycle. I wonder how many more releases before 1.0? Are we looking at 0.20, another one and half year of baking?

gwenzek

https://ziglang.org/download/0.16.0/release-notes.html#Loop-... Seems like a big one! I wonder how it will impact real code performance

anttiharju

Really happy to see 0.16 come out. I did a really tiny contribution about zig cc supporting -exported_symbols_list, which together with the hack of filtering out -liconv makes for a very viable linux -> macOS Rust cross-compiler. There's a few caveats but those have been manageable so far. Absolutely in awe of Zig as a project.

Semantic search powered by Rivestack pgvector
4,562 stories · 42,934 chunks indexed