3 ms·
> With Zig I/O you can call i/o functions from non-i/o functions and non-i/o functions from i/o functions Yes, but you would either create a new std.Io just fo
by ivanjermakov 1y ago
> With Zig I/O you can call i/o functions from non-i/o functions and non-i/o functions from i/o functions
Yes, but you would either create a new std.Io just for that, or use a global/semi-global std.Io from somwhere else
- jmull 1y agoYes… like every other argument one function provides to another that it doesn’t pass directly through from one of its own arguments. The function color analogy captures a pernicious viral dynamic with async where it allows only one-way composition. That just doesn’t exist with zig i/o.