Anyone have any modern resources on why green threads are considered "better" than OS threads? Presumably the answer has to be deeper than just allocating stack? I would expect that the OS scheduler is generally better at this than the VM (if not why haven't we fixed this?)
I get that it's faster, but I'm unclear on *why* it's faster, and why we aren't able to make OS threads as fast
-
-
My understanding is that system threads offer a lot of promises and features that you might not need, but are very expensive to implement. Green threads can implement only the features you need while being much more efficient.
-
I would really love to read some recent literature on this -- Everything I can find is from ~2011 and is basically "green threads are dead OS threads are better b/c parallelism"
End of conversation
New conversation -
-
-
it's time to rewrite it in rust
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.