Zig's New Async I/O (Text Version)
A preview of Zig 0.16.0's new async I/O primitives and synchronization API, demonstrated through code examples.
Andrew Kelley is the President and Lead Developer of the Zig Software Foundation, creator of the Zig programming language, and an advocate for safer, modern systems programming. His blog covers Zig language development, software tooling, open-source contributions, and practical programming insights.
34 articles from this blog
A preview of Zig 0.16.0's new async I/O primitives and synchronization API, demonstrated through code examples.
Zig creator reflects on a decade of project leadership, analyzing the personal and technical reasons behind conflicts in open-source communities.
The article critiques the trend of moving IT infrastructure to the cloud, arguing it's a financially poor decision akin to renting vs. owning.
Analyzing a critical OpenZFS bug by porting the flawed C code to Zig, demonstrating how Zig's compiler catches the error.
A technical deep dive into Zig's new CLI progress bar implementation, including its protocol, API, and performance considerations.
Redis has been renamed to Redict after a controversial license change, sparking a fork to preserve its open-source nature.
An essay critiquing how software's efficiency and potential for post-scarcity are sabotaged by business models that create artificial obsolescence and bloat.
A developer explains why they left Twitter and Reddit, citing negative impacts on mental health and the enshittification of platforms, and discusses rebuilding their blog with Zig.
Introduces `zig cc`, a tool from the Zig language that can compile C code and serve as a drop-in replacement for GCC/Clang with cross-compilation support.
A Zig language creator explains his personal commitment to funding open-source by donating 10% of his income to the musl libc project.
A developer details using Zig to implement stack traces for kernel panics in a custom bare-metal OS for a Raspberry Pi arcade game project.
Explains how to implement compile-time perfect hashing for string matching in the Zig programming language.
A developer leaves his job at OkCupid to work full-time on the Zig programming language, funded by community donations, and outlines his development roadmap.
A monthly review of the Zig programming language's progress, covering LLVM 6 readiness, new error handling syntax, and error return traces.
Analyzes undefined behavior in unsafe Rust code when transmuting pointers, comparing it to Zig's safety guarantees.
Monthly progress report for the Zig programming language, detailing new enum and union features added in December 2017.
Exploring Zig's approach to improving bit-field implementation for embedded and OS development, addressing C's limitations.
A technical comparison of Zig and C, analyzing how Zig's design prevents common C pitfalls like null pointer bugs and redefinition errors.
Explores how the Zig language uses 'comptime' to blend compile-time and run-time execution, enabling powerful generics and type-safe metaprogramming.
A developer details using apitrace to debug a graphics regression in the Zig compiler after a major internal rewrite.