4 ms·
That's the same approach that IE took for many years - IE7 embedded the IE6 rendering engine, IE8 embedded both the IE7 & IE6 rendering engines, etc. You could
by nostrademons 11y ago
That's the same approach that IE took for many years - IE7 embedded the IE6 rendering engine, IE8 embedded both the IE7 & IE6 rendering engines, etc. You could switch between them with a meta tag, or with developer tools.
It didn't stop IE from being robbed of momentum.
I think this is more a case study of what happens when fundamental assumptions that a technology ecosystem is based upon change. Things like string & collection types, async mechanisms, interface/protocol definitions, package managers, programming paradigms, developer preferences, and hardware performance characteristics are foundational to a language's definition. After all, the network effect that binds a language ecosystem together is all based upon being able to share code between multiple unrelated developers.
In Python's case, unicode happened. A lot of old Python code was written on the assumption that everything was a sequence of ASCII bytes; it was just plain broken in the presence of unicode characters. There's little you can do here other than accept that much of your ecosystem's strength is gone anyway and build for the future.
I suspect we'll see similar problems crop up in other languages in the near future; in particular, promisification in ES7 is a big threat to the existing Node ecosystem, which is all based upon callbacks. A language that jumps on the promise bandwagon early (Rust? Go? Elixir?) could rob Node of much of its momentum. Similarly, if Android & iOS win out over the web, that could lead to a big resurgence in Java or rise of Swift over server-side technologies like Node or Go.
- jacquesm 11y agoHave a look at how the Erlang ecosystem managed the unicode transition.
- nostrademons 11y agoI would take the Python 3 ecosystem over the Erlang ecosystem any day.
- jacquesm 11y agoInteresting, why?
- nostrademons 11y agoI'm far more likely to find a library I need in a Python 3 version than in an Erlang version. Take a look at the PyPI stats for Python3 packages vs. the Hex stats for Erlang packages: https://python3wos.appspot.com/ https://python3wos.appspot.com/ https://hex.pm/ https://hex.pm/ The vast majority of common packages are compatible with Python3. Moreover, a common Python package gets about 100x the downloads of a common Erlang package. Even with only 20% of Python users on Python3, that's still about 20x the users that Erlang has. Python3 adoption only sucks compared to the installed base of Python2. Compared to any niche language - Haskell, Erlang, Rust, Swift - it's massive, and you're much more likely to find a battle-tested library in Python3 than in your niche language. (The bulk of my work is actually in Node and Swift these days. Node has a mammoth package library, but that's because its culture encourages many small modules and lots of code re-use. In my experience, I've found that the chance of finding a robust, well-supported Node module is roughly equal to the chance of finding a robust, well-supported Python2 library, and is maybe 20-30% greater than the chance of finding a robust, well-supported Python3 library. The Swift library situation is much, much worse than Python3.)
- jacquesm 11y agoAgreed on the library part, that's my biggest hang-up in making more (and faster) progress with Erlang projects. Sometimes I even end up rolling my own and coming from languages with substantial 'batteries included' library systems this is a real drawback. On the other hand, when it finally works it is absolutely bullet proof and that's a feeling I have with very few other languages and eco systems. The degree of isolation between subsystems and the reliability are absolutely un-matched. Neither is the learning curve :(
- BuckRogers 11y agoHave you tried Elixir? If so, just wondering if you found the learning curve to be as difficult as Erlang.
- 11y ago
- choosername 11y agoso python is the IE of programming languages? yikes ;)
- nostrademons 11y agoPython 2 is, yep. And Java, and C++, and PHP, and all those other languages that were super popular at the turn of the millenium but now feel really dated. Actually, C++ has an even bigger claim to the title, because it now has "modern" versions that are much better, more standards-compliant, and have language features borrowed from newer languages...but a number of enterprises are stuck with no-exceptions, no-STL, no-move-semantics subsets because that's how all the existing code is written.
- blub 11y agoThe IE metaphor is terrible for programming languages :) I don't know about PHP, but C++ (and I suspect Java too) is backwards compatible and doesn't belong in the same class with Python. One can still compile older code and start using new features as they see fit, there is no hard break.
- deleted 11y ago[deleted]
- Drdrdrq 11y ago> It didn't stop IE from being robbed of momentum IE actually handled the transition very well, because backwards compatibility was the thing that kept it in the game. When it lost it was because this feature no longer mattered (that much).