by staticassertion · 4y ago · 0 comments
Supporting them is smart because people expect it, and not supporting it would be bad optics, but if a language legitimately only targeted Linux, and was better for it, I'd be fine with that - they target the most popular OS by far.
Apparently we haven't published platform statistics since 2019, but according to that years' survey: https://blog.rust-lang.org/images/2020-03-RustSurvey/32-what...
* 55% of Rust users develop on Linux
* 24% develop on Windows
* 23% develop on macOS
So yeah Linux was the most popular, but dropping effectively half of your users isn't always a great idea. Of course, some people will build OS-specific software in Rust, and that's great! But it is a tradeoff you're making.
But if a language said "we're not going to support those" I wouldn't care at all, and a massive number of use cases - the majority, I think - would be solved with that language.
In terms of what you develop on, that's a whole other story. The majority, of course, are on Linux. But I'd be interested to know what platform they target.
Perhaps MS could pay for crater runs on Windows? Are crater runs done on Windows now?
Looks like yes, https://github.com/rust-lang/crater/blob/master/docs/agent-m...
Some of rust's most well-known and widely distributed success stories for a start - Firefox & Dropbox