2 ms·
Why, given the existence of editions?
by fluffybucktsnek 6mo ago
Why, given the existence of editions?
- whytevuhuni 6mo agoVery surprised to hear that, since editions are exactly the kind of mechanism Rust is using to make sure software will keep working unchanged for decades. The Rust compiler can build a 2024 edition application which depends on a 2015 edition library, which in turn depends on a 2018 edition library. Every crate can upgrade at their own pace, or even never at all.
- fluffybucktsnek 6mo agoOh, I'm aware about the benefits of editions. For some reason, I've misread OP's comment.
- staticassertion 6mo agoIt's a very strong, plainly stated assertion that contradicts stated goals of the project so it seems like it deserves supporting evidence. Editions exist to avoid breaking code over time.
- fluffybucktsnek 6mo agoAh, sorry. I got confused about your comment.