5 ms·
Parent is saying the proportion is very high. It's not the exact number that matters. Even if one dependency your project uses needs nightly, then your entire p
by rdsubhas 4y ago
Parent is saying the proportion is very high. It's not the exact number that matters. Even if one dependency your project uses needs nightly, then your entire project has to use nightly.
- nindalf 4y agoLess than 20% of devs use nightly. About a third of the devs who use nightly do it because of a dependency. 6-7% of Rust devs is a far cry from the “half” claimed by GP. https://github.com/rust-lang/surveys/raw/main/surveys/2021-annual-survey/2021-annual-survey-summary.pdf https://github.com/rust-lang/surveys/raw/main/surveys/2021-a...
- arinlen 4y ago> Less than 20% of devs use nightly. You tried to make that sound like few Rust developers use nightly, but the same survey you linked to states that, while 7449 said they use the latest stable version for local development, 3333 said they use nightly, with 2853of them using the latest nightly and 481 using a specific version of nightly. All in all, the ratio of Rust developers targeting nightly releases or betas represents something in between a third and a quarter of the whole developer community. That's a lot of people in the Rust community delivering code targeting unstable and unmaintainable releases.
- nindalf 4y ago> unmaintainable releases How did you come to this conclusion? Seems like it must be working for them, because most of them are using nightly out of choice. Plus it’s a service to the community. Their everyday testing helps make the stable releases better. Imagine if no one used nightly - that would be much worse.
- woodruffw 4y agoThis is true, but you'd have to show that those nightly dependencies are relatively central to the Rust dependency graph (i.e., that lots of other things depend on them). To the best of my knowledge, that's not really the case (the really central dependencies in the Rust ecosystem are things like serde, libc, anyhow, etc. that all use the stable compiler). In my experience writing Rust professionally (including making heavy use of dependencies), I've only needed the nightly compiler once. And that was for our own code, not an external dependency.