4 ms·
Sure, that is simply stating a different way. With the resulting implication that if one wants procedural macros, the stable 1.x releases have unfortunately bee
by mindslight 11y ago
Sure, that is simply stating a different way. With the resulting implication that if one wants procedural macros, the stable 1.x releases have unfortunately been empty progress.
Breakage from forwards-incompatibility isn't my problem, it's potentially having to tackle it every morning rather than in batch mode when there's a new release.
edit: If this compatibility story really dictates that releases can't contain beta features, even with a #![unstable_beta_features_1_6] directive, then a separate beta release would be nice. But now it looks like I'm asking for something additional.
- dikaiosune 11y agoThere is a beta release (https://www.rust-lang.org/downloads.html https://www.rust-lang.org/downloads.html), but I don't think it includes unstable features.
- mindslight 11y agoOh yeah, forgot about that. Different purpose than what I'm talking about though. Perhaps mine would be more appropriately named "1.6 with alpha features".
- dikaiosune 11y agoI had the same response when I realized a feature I really wanted was only on nightly (and would probably still be interested). However, in the last month-ish I've been using a fresh nightly every day, multirust has made it super easy to update, and I've only had breaking changes to my dependencies once.
- mindslight 11y agoI only switched to building releases at 1.4 because I thought the nightly treadmill could finally be over. Alas I guess I'll skip installing 1.6 and just switch back to sporadically-updated checkouts whenever some dependency has breaking changes (ooh, such stable). I'm not looking to get the rats on my face and switch to butt-based development ala rustup/multirust/etc.
- kbenson 11y ago> butt-based development Oh, cloud-to-butt, will you ever stop delivering the fun? I hope not.
- Gankro 11y ago1.6 with alpha features is essentially the nightly on the day that 1.6 entered beta. Backports are incredibly rare while the trains are running.
- kbenson 11y agoI think the issue here is the difference between "is" and "essentially". Having a guaranteed matched release with alpha features would apparently be useful, for at least one person. Not being guaranteed could cause some real headaches under certain circumstances.
- pcwalton 11y agoWhat are those circumstances? There are no stability guarantees for unstable features, so I don't see how a nightly build that happens to correspond to a major version has value over any other nightly build. The stability you would get by sticking to "1.6 + features" seems precisely equal to the stability you would get from picking a recent nightly and sticking to that build. It sounds to me like the real issue here is that procedural macros aren't stable, not anything about the release process.
- mindslight 11y agoStabilizing procedural macros would fix this one issue, but IMHO a different release process would have fix the pain as well. My case specifically: Wanting hard-to-stabilize features like procedural macros and no_std. Using external dependencies that work with stable, but when used with unstable they expect you are updating nightly. Not updating nightly due to a wacky idea that people should control tools and not vice-versa. The first time I open a project in a week is not the time I want it to fail compiling due to language/library changes. Maybe my impression is caused by the previous rapid change of nightlies (renaming in libraries, etc), and using month-old snapshots wouldn't be too bad these days. But still after several major releases I'd hope the stable tarballs would have been suitable for general use. Instead of removing not-yet-stable features, they should be put behind a feature gate. With the idea that anybody who explicitly opts-in to unstable features and then complains when they're not forward-compatible can simply be told to pound sand.