Hacker News new | past | comments | ask | show | jobs | submit login

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/




*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.


Any reason why? I'd love to read some discussion about it.


Since 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 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.


We talked about it at the last work week a lot https://github.com/rust-lang/meeting-minutes/blob/master/wor...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: