3 ms·
Putting aside details, I would like to read something about Zig that addresses both the "no hidden control flow" claim and the "colorblind async/await" claim.
by chubot 5y ago
Putting aside details, I would like to read something about Zig that addresses both the "no hidden control flow" claim and the "colorblind async/await" claim.
On the face of it those 2 things seem incompatible. Why are they compatible?
If Zig followed the C philosophy, then your async code would basically look like nginx, i.e. state machines and callbacks. Not saying this is desirable, but it does work (for some definition of "work").