5 ms·
AFAIK green threads were removed from the core language but are available as crate green (also known as greenlib). You can use that for building servers. http:
by Shamanmuni 12y ago
AFAIK green threads were removed from the core language but are available as crate green (also known as greenlib). You can use that for building servers.
http://doc.rust-lang.org/green/ http://doc.rust-lang.org/green/
- ben0x539 12y ago*libgreen They're gonna get yanked out of the core distribution too and won't be integrated in the stdlib IO anymore, so it's fair to say that Rust is switching to 1:1 threading.
- kaoD 12y agoAny reason why? I'd love to read some discussion about it.
- ben0x539 12y agoSince both threading models were supported and compatible throughout IO, concurrency primitives and other runtime bits, the design of both was considered to be constrained too much to get either model where it should be. The decision was made around https://github.com/rust-lang/rfcs/pull/230 https://github.com/rust-lang/rfcs/pull/230 but I'm not sure whether there's any important prior discussion not linked from there, the topic has been kicked around for a bit.
- steveklabnik 12y agoWe talked about it at the last work week a lot https://github.com/rust-lang/meeting-minutes/blob/master/workweek-2014-08-18/libgreen-and-tls-redux.md https://github.com/rust-lang/meeting-minutes/blob/master/wor...
- deleted 12y ago[deleted]