Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for sharing this information. I am interested what strategies can be applied to increase the speed of language adoption.


> what strategies can be applied to increase the speed of language adoption.

In the case of Python 3, a neat thing library developers can do is write code that is both valid for Python 2 and Python 3. The six[0] library is a wrapper for making code compatible with both versions. There are tools like 2to3[1] and 3to2[2] that convert code from one version to another. They're not perfect but do catch the most common differences. Such things help with making the change.

However it is the availability (or more exactly lack of) of famous and widely used libraries that hinder or speed up the adoption. For example, Django recently started offering a Python 3 version[0]. Numpy and Scipy support it since around 2011 only.

0: http://pythonhosted.org/six

1: http://docs.python.org/2/library/2to3.html

2: https://wiki.python.org/moin/3to2

3: "Porting to Python 3" htthttp://pythonhosted.org/sixps://docs.djangoproject.com/en/de...

>Django 1.5 is the first version of Django to support Python 3. The same code runs both on Python 2 (≥ 2.6.5) and Python 3 (≥ 3.2), thanks to the six compatibility layer.

"Django's future, and Python 3" https://www.djangoproject.com/weblog/2012/mar/13/py3k/


There are large working Python 2 code bases in a lot of organizations. It works great. Fabulously reliable. Extremely well-tested. Been running great for years. They have no desire or need to upgrade and will run Python 2 and pay devs to maintain it forever.

Welcome to the real world.


You are right, just as there are still COBOL applications around.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: