3 ms·
> Zig actually also had solved the coloring problem in the old and abandondend async-await solution because the compiler simply stamped out a sync- or async-ver
by SkiFire13 11mo ago
> Zig actually also had solved the coloring problem in the old and abandondend async-await solution because the compiler simply stamped out a sync- or async-version of the same function based on the calling context (this works because everything is a single compilation unit).
AFAIK this still leaked through function pointers, which were still sync or async (and this was not visible in their type)
- throwawaymaths 11mo agoPretty sure the Zig team is aware of this and has plans to fix it before they re-release async.
- geon 11mo agoI’m pretty sure that was an issue specifically with the old implementation, and not something still left to fix.