Goroutines in Rust (opens in new tab)
Building go-lib: A Chronicle How a faithful port of Go's M:N scheduler came to life in Rust. The Idea The Rust language doesn't pick a single concurrency model, instead, it provides primitives and ownership rules that make any model safe to implement. Unlike Java (virtual threads), Go (goroutines + channels) or Erlang (actor model), Rust ships without a runtime or a preferred style. The asynchronous working group and the async-std libraries were unsuccessful attempts to add concurrency to the...
Read the original article