4 ms·
> Rust doesn't really have the reputation of moving slowly to adopt new features There are some exceptions to this. Although there are possibly good reasons fo
by nequo 3y ago
> Rust doesn't really have the reputation of moving slowly to adopt new features
There are some exceptions to this. Although there are possibly good reasons for such features moving slowly, a competing compiler could popularize them before they are stabilized in rustc. One example is generators[1] but there's a longer list in The Unstable Book.[2]
[1] https://github.com/rust-lang/rust/issues/43122 https://github.com/rust-lang/rust/issues/43122
[2] https://doc.rust-lang.org/stable/unstable-book/language-features/generators.html https://doc.rust-lang.org/stable/unstable-book/language-feat...
- estebank 3y agoPrevalent use of nightly Rust purely for specific unstable features would do the same. It's been a while since there has been a "must have" feature has kept people confined to nightly, though.
- Guvante 3y agoI feel like having a distinct implementation that is unstable is more likely. Stabilizing things from rustc is a recipe for disaster as if rustc builds something new you are in a bad place.