Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020
What it is
Zig creator Andrew Kelley's RedisConf 2020 talk on modeling data flow with asynchronous I/O in Zig. It explains how Zig's async/await avoids function coloring, and Loris Cro demonstrates OkRedis, a zero-allocation Redis client.
Why Hacker News recommends it
HN recommends it as the clearest explanation of how Zig achieves colorless async/await.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2020, last 2021
What HN commenters said
“I highly recommend watching Andrew Kelley's video”
Andrew Kelley explains color-less async/await in Zig
kbd, 2021-04 · Strong recommendation · in “Red and blue functions are a good thing”
“There is an interesting approach in Zig to explicitly kick call frames to achieve colorless asyncness.”
Zig's approach to colorless async by explicitly kicking call frames
bvrmn, 2020-05 · Recommendation · in “What Color Is Your Function? (2015)”
“Zig's async/await does not force function coloring on you to do all of this”
Shows how Zig async/await avoids function coloring
jorangreef, 2021-02 · Recommendation · in “Comparison of Rust async and Linux thread context switch time and memory use”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: zig, async await, function coloring, andrew kelley, redis client
Also recommended by the same people
talkZFS: The Last Word in File Systems Part 1Deirdré Straughan · 4 HN recommenders · 2016–2026
talkWriting a Wayland Compositor in Zig - Isaac FreundZig SHOWTIME · 4 HN recommenders · 2021–2021
talkTigerStyle! (Or How To Design Safer Systems in Less Time) by Joran Dirk GreefTigerBeetle · 2 HN recommenders · 2023–2025
talkFinding the Missing Memristor - R. Stanley WilliamsThe Qualcomm Institute · 12 HN recommenders · 2010–2024
talkA Better Default Colormap for Matplotlib | SciPy 2015 | Nathaniel Smith and Stéfan van der WaltEnthought · 15 HN recommenders · 2015–2026
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkCppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon · 9 HN recommenders · 2018–2026