4 ms·
> Green threads/Virtual threads are one solution, but then you need to ship a runtime for them, then you pay for what you don't use. Indeed, and IIRC that's on
by aw1621107 3y ago
> Green threads/Virtual threads are one solution, but then you need to ship a runtime for them, then you pay for what you don't use.
Indeed, and IIRC that's one of the reasons Rust removed its green thread implementation in the first place.
> Or don't standardize on them and have a split ecosystem of half libs supporting use `green-thread.rs` and the other half supporting `rust-gthreads`.
Don't forget the third lib for abstracting over the two!