More Google searches about Python 3 than about Python 2
Following the recent blog posts
on the presumably low adoption of Python 3, it's good to note that Google receives more search requests on Python 3 than on Python 2 :
Python is the Language of the Year
Python is the "language of the year" according to the PYPL index
: it had the biggest increase in popularity share in 2013. PHP had the biggest decline. Meanwhile, Java continues to have the highest popularity share among the programming languages.
The PYPL PopularitY of Programming Language Index is created by analyzing how often language tutorials are searched on Google : the more a specific language tutorial is searched, the more popular the language is assumed to be. It is a leading indicator
. The raw data comes from Google Trends
, so that anyone can verify it, or make the analysis for his own country or other languages.
If you believe in collective wisdom, the PYPL Popularity of Language index can help you decide which language to study, or which one to use in a new software project. Click on a language in the table below to see the raw data.
Update : the popularity of Ruby has been modified to include searches on
PySonar + Cython = pure-python compiler ?
The recent buzz
made me think about a possible way to create a pure-python compiler.
The idea would be to statically analyze your pure-python code with PySonar, and to format the result of the analysis into an "augmenting .pxd
" file containing the static type definitions that Cython
can use for its compilation. You would then compile your .py files with Cython, with the help of the .pxd files, resulting in a fast, efficient executable.
Wouldn't that be neat ? Is it feasible ? Is anybody working on it ? Please discuss on reddit
It"s a pity that so many installation instructions for Python packages assume that pip is already installed : it's not installed by Python installers, and installation instructions for pip are only for Linux / OS X, not for Windows. So, potential Windows users of those packages are left scrambling for instructions. Furthermore, these instructions include complex procedures, and do not explain how to deal with multiple Python versions (2.x and 3.x). Yet, python is often used on windows.
I've developed Pip for Windows to address these issues. It is a tiny Python Package manager that automatically installs pip on Windows. I suggest that package providers recommend it, as I have for pyDatalog. Its GUI also lets you:
- install any package from pypi, or upgrade it using pip instruction set
- list all installed packages with their version number
- upgrade all packages in the local library, in one click
- switch from one python interpreter (i.e. version) to another (including pypy)
See the Home page
for screen shot and user guide.
C# had the highest growth in popularity share this year (1.8 %), and Python the highest growth this decade (8%).
That's according to the PYPL PopularitY of Programming Language index
, a leading index I created with data from Google Trends. It is based on the number of searches of language tutorials on the web: the more a language tutorial is searched, the more the language is assumed to be popular.
Interestingly, Python is the second most popular programming language in the US. The following diagram from Google Trends shows the number of language tutorial searches in 2012 in the US.[s]
One can see that Python is ahead of PHP, C++ and C, but behind Java.