One and a half colors
One and a half colors
Posted Dec 3, 2025 12:40 UTC (Wed) by lukasl (guest, #180745)In reply to: One and a half colors by pbonzini
Parent article: Zig's new plan for asynchronous programs
There is no compiler support for this. It's either threads or stackful coroutines, depending on the implementation. The current dev versions of Zig only support threaded version of this. There are work-in-progress implementations of event loops in the zig std. I also created one alternative stackful coroutine runtime, outside of the zig std, that also implements the interface.
