Skip to content
0:00 / 0:00

#zig#asyncio#futures

A Practical Guide to Async IO in Zig

nubskr

3.5K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Linked in the descriptionnubskr/zig_async_io_guide
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

4.4K views4 months ago1 recommendation

Programming languagesSystems programmingZigConcurrency and parallelism

nubskr explains the core components of Zig 0.16's new async IO model, including Futures, Io.Group, Io.Select, and cancellation.

Reference code: github.com/nubskr/zig_async_io_guide patreon: patreon.com/cw/nubskr github: github.com/nubskr twitter: x.com/nubskr A practical guide to Async IO in Zig using small runnable examples. In this video, I walk through the main pieces of Zig 0.16.0 new async IO model: Futures, Io.Group, Io.Select, cancellation, Io.Queue, timers, and Io.Batch. The goal is to show what these things look like in real code, how they fit together, and when you would reach for each one while building actual programs. Chapters: - Teaser - Intro - Futures - Io.Group - Io.Select - Cancellations - Io.Queue - Sleep and Timers - Io.Batch - What's next? #zig #asynchronousprogramming #lowlevelprogramming

Why it's here

1 person recommends this

What people say. Recommended as an excellent, hands-on guide to understanding Zig 0.16's new asynchronous programming model.

u/Ok_Marionberry8922in r/Zig • Recommends

A Practical Guide to Async IO in Zig