News for hackers. Stuff that matters.
Re:Tokio 1.0 – async runtime for Rust by mratsim on Thursday December 24, 2020 @11:11AM (#25528690)
Both Rust and Go used to have green threads i.e. stackful coroutines / fibers that installed their own execution stack and switched to it.

However everyone who ever did green threads ended up having a lot of difficulties with stack optimization: - Go: https://docs.google.com/document/d/1wAaf1rYoM4S4gtnPh0zOlGzW... - Rust: https://mail.mozilla.org/pipermail/rust-dev/2013-November/00... - Same for Java in the past.

Now only Go is left.

More on fibers woes from the C++ point of view: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p136...

There are no comments on this comment yet.