3 ms·
>Why has Rust struggled so much with this, where Go has succeeded from the start with its language-level “goroutine” concept and runtime? Rust made the deliber
by jasode 5y ago
>Why has Rust struggled so much with this, where Go has succeeded from the start with its language-level “goroutine” concept and runtime?
Rust made the deliberate decision to avoid the heavier Go goroutines runtime model after early alpha/beta experiments showed it conflicted with Rust's low-level design. I found 3 links to some history of that rationale in a previous comment:
https://news.ycombinator.com/item?id=28660089 https://news.ycombinator.com/item?id=28660089
And some more links:
https://stackoverflow.com/questions/29428318/why-did-rust-remove-the-green-threading-model-whats-the-disadvantage https://stackoverflow.com/questions/29428318/why-did-rust-re...
https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md https://github.com/rust-lang/rfcs/blob/master/text/0230-remo...
And lots of debate in this previous thread: https://news.ycombinator.com/item?id=10225903 https://news.ycombinator.com/item?id=10225903