(I didn’t read that comment as offensive, for what it’s worth. Just saying that avoiding unnecessary allocation is valued in Rust code, which seems pretty uncontroversial.)
-
-
This might have more to do with the implementation than the idea. It is certainly very easy for green threads to get slow when the surrounding environment has a lot of constraints. Preemptivity, TLS, floating point ctxt, data structures layouts/liveness: death 1k perf cuts.
-
Whereas the kernel can solve many of those problems by controlling the environment. That said, syscall overhead is no joke in popular systems, so it is a tradeoff: how much can we marginalize design complexities, while leveraging the obvious performance wins.
End of conversation
New conversation -
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.