3 ms·
Yeah, so what they write in section 3.1 is basically what I stated elsewhere on this comments page. It's probably not that Win32 Fibers is a bad implementation
by jstimpfle 7y ago
Yeah, so what they write in section 3.1 is basically what I stated elsewhere on this comments page. It's probably not that Win32 Fibers is a bad implementation of Green Threads, but more that Green Threads is an awkward model to work with in many cases.
> Current recommendation is to avoid using fibers and UMS. This advice from 2005 remains unchanged: “...
[I]nstead of spending your time rewriting your app to use fibers (and it IS a rewrite), instead it's better to rearchitect your app to use a "minimal context" model - instead of maintaining the state of your server on the stack,
maintain it in a small data structure, and have that structure drive a small one-thread-per-cpu state machine.”