3 ms·
Which Rust? Which Swift? Which Python? Which Java? Which C#? All languages evolve & change, not just HMTL5/ES5. I worked at Apple when Swift was first rolled o
by vlovich123 6y ago
Which Rust? Which Swift? Which Python? Which Java? Which C#?
All languages evolve & change, not just HMTL5/ES5. I worked at Apple when Swift was first rolled out & the language today is very different & unrecognizable to me from the one that exists today. The original code won't even compile today (not necessarily terrible if the automated conversion tools are 100% perfect).
Java is on a ~1yr cadence for the past 3 years (used to be 2 before that except for Java 7, 8 & 9 which had a longer lead time & likely not coincidentally is the time period that saw tremendous growth in C#)
Swift is on a ~1 yr cadence with major language changes still happening. Upgrades are managed by automatic tooling. Will be interesting to see if Apple can sustain this long-term (every problem gets magnified a lot with time if you're growing).
Rust is on a ~~1 yr cadence although they've come up with an interesting way to land major language changes & improvements into the language (release process rather & I can't recall if they use automated tooling).~~*
The problem of evolving languages isn't being ignored but it's a hard challenge. However, any language designer who ignores new up & coming concepts in language design is relegated to repeat the mistakes of C++ and Java which stagnated for long periods & let other languages capture large amounts of market share. Market share = how healthy the ecosystem for that language is & whether new projects get started in it. So if you just try to solve that problem first you'll end up never getting off the ground because you won't have an ecosystem around you to drive investment of time & money from users of that language.
I think you're just seeing the reorientation to a faster release cadence in the industry. Rather than waiting many years to deliver on larger features (Python3, Perl5), there's a more regular process to continuously ship smaller subsets of them in a usable form to get feedback, amortize the cost of adoption, & address any issues sooner. This also makes you more competitive in terms of users adopting your language for new projects. This obviously does have an externality cost as there can be less QA & bake time for code. Those can be mitigated with automation. Design defects can be addressed sooner & those are valuable because they're the pain-points for your user base.
I wish C++ actually delivered faster but given that there's 3 mainline compilers & a bunch of ancilliary ones, it's going to stagnate & die in favor of Swift or Rust which only have 1 shared reference compiler that everyone uses.
It's also why projects like PyPy never grow beyond a small niche if you make that kind of choice. I'm on the side of Swift and Rust models - in C/C++ to support different platforms I need different compilers. This means in any non-trivial project I have to add different per-compiler workarounds to language interpretation or feature set (even clang's attempts to pretend to be GCC or MSVC don't work out well & you end up having to adjust your project to actually be aware of it).
* EDIT: Corrected below. Rust is on a 6-week cadence with a 3-year roll-up of the supporting material & an interesting way to support mixing and matching code from different versions.
- saagarjha 6y agoThe conversion tools were never perfect, but Swift isn’t changing a bunch every year anymore so it’s less of a big deal when a new version comes out.
- steveklabnik 6y ago> Rust is on a ~1 yr cadence Which cadence are you talking about? We have releases every six weeks, and editions roughly every three years, but not a yearly cadence that I can think of right now.
- vlovich123 6y agoYou're correct. For some reason it still feels like Rust has a yearly cadence of major changes. Is that just because there's a year-end roll-up of all the changes that have happened over the year? Also updated the comment - thanks for the correction!
- steveklabnik 6y agoSo I was thinking about it, and we do ask people what they want to see out of the next year, so maybe that's it! It's more of a general, vague, "what should we focus on working on" than it is actual revisions of the language though.