Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Re: 100k Threads? (2002). Parent comment
So if a green thread is waiting for I/O, another can use the CPU just fine.
Yes there's context switching but it does scale and code becomes simpler to write and reason about.
There are no comments on this comment yet.
So if a green thread is waiting for I/O, another can use the CPU just fine.
Yes there's context switching but it does scale and code becomes simpler to write and reason about.