Re:Zig's New Async I/O [video]
by int_19h on Friday October 31, 2025 @05:30AM
(#45770008)
OP didn't say that code looks like ordinary sync code, only that it's possible to write code that works equally well for both sync and async. If you RTFA, it looks like this:
If your `io` is async, this behaves like an async call returning a promise and then awaiting said promise. If `io` is sync then `io.async` will make the call immediately and `await` is a no-op.
[ Parent
| on HN ]
There are no comments on this comment yet.