PierU
November 2, 2022, 2:22pm
141
Coming back on that:
PierU:
About Rust I can read in the link you gave : “Ever since the 1.0 release, the rule for Rust has been that once a feature has been released on stable, we are committed to supporting that feature for all future releases.” . If you translate that for a langage that is ruled by a standard, that means that features are never deleted from the standard.
plevold:
I don’t think that is completely correct. They way I interpret it is that there will always be achieve a certain outcome that was previously possible, but it might not be the same way. For example , in Rust 2018 you could do
panic!(127);
but in Rust 2021 you have to change that to
panic_any!(123);
You can achieve the same thing, but you have to migrate when using later editions.
Actually I still think that in terms of standard it means that once a feature is in, it is never deleted. But I agree that this could make sense only if the standard was following a similar system to the Rust revisions.