By scipio on Skatehive
Learn Zig Series (#18b) - Addendum: Async Returns in Zig 0.16 What will I learn You will learn why Zig is bringing async back -- and why it looks nothing like before; the new std.Io interface and how it mirrors the std.mem.Allocator pattern; what "function coloring" is and how Zig 0.16 defeats it; how io.async() and Future.await() work across different backends; how iouring on Linux reduces syscalls by 20x compared to poll-based I/O; fibers (stackful coroutines) and why they matter; the distinction between asynchrony and concurrency in Zig's model. Requirements A working modern computer running macOS, Windows or Ubuntu; An installed Zig 0.15+ distribution (download from ziglang.org); Familiarity with Episode #18 (poll/epoll, manual event loops); The ambition to learn Zig programming. Difficulty Intermediate Curriculum (of the Learn Zig Series): Zig Programming Tutorial - ep001 - Intro Learn Zig Series (#2) - Hello Zig, Variables and Types Learn Zig Series (#3) - Functions and Control F