News for hackers. Stuff that matters.
Re:A Design Space Exploration of Async/Await by jandrewrogers on Saturday September 12, 2026 @06:09PM (#49677741)
Stackful coroutines are cooperatively scheduled, unlike traditional threads, and context switch much more inexpensively. It is the reason people write stackful coroutine libraries instead of just using threads.
Re:A Design Space Exploration of Async/Await by mitxela on Sunday September 13, 2026 @04:27AM (#49681436)
Threads were traditionally cooperatively scheduled, too. Expensive context switch is an artifact of implementation.