Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Read the article, the new Zig async/await interface doesn't imply the typical async/await state-machine code transformation. You can write a simple blocking runtime, or a green-thread implementation, or a thread-pool, or the state-machine approach via stackless coroutines (but AFAIK this needs a couple of language builtins which then must be implemented in an IO implementation).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: