hackertube.io

Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020

Redis · talk · Watch on YouTube

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

  1. “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”

  2. “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)”

  3. “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