A hands-on exploration of Zig 0.6's new IO interface, walking through the release notes and then live-coding a TCP echo server and a multi-connection stateful server. Covers the new async/concurrent task model, IO groups, futures, mutex integration into the IO interface, and the limitations of the current threaded backend for single-threaded concurrent patterns. Also reviews language changes like packed union/struct improvements, comptime pointer fixes, float coercion improvements, and the new process init main arguments.

1h 34m watch time

Sort: