“Look, see those birds? At some point a program was written to govern them. A program was written to watch over the trees, and the wind, the sunrise, and sunset. There are programs running all over the place. The ones doing their job, doing what they were meant to do, are invisible. You’d never even know they were here.”
– The Oracle in The Matrix – Reloaded
We are able to view data from all over the world, chat with people on any continent, play games with or against any of our friends without leaving the comfort of our homes etc – All this is possible due to programs written using languages which remain invisible to the user.
Such is the brilliance of the whole system we call software & I am thankful for being part of this line of work :) .
The question ‘Which are the most popular programming languages?’ is important for people who are curious to know where their own programming language of choice stands in the battle for popularity. It even helps those of us who want to learn a new language & a small peep at what their colleagues all over the world favour might be the little push they desire.
The TIOBE Programming Index is probably the only index which keeps track of the popularity of a programming language. Its updated every month. Thats why its regularly quoted by many articles.
Its Rules state that the ratings are calculated by counting hits of the most popular search engines for the search query +”<language> programming” .
Though I agree with the result (atleast with the top 4) , I don’t agree with the methodology used by the survey. The flaw can be seen if we replace the word ‘programming’ with ‘language’ since ‘programming’ word is not actually regularly used when we reference languages like php.
On google search – “php language” beats all other combinations easily (3Mil +) …even “java language” isnt able to match it (600k) though its aided by results of the place java & its language.
A better methodology is used Here though it stopped being updated after Oct 2008. The language name is combined with a number of relevant words so as to give a more valid result. The PERL code used by the site is available. Hopefully at some point of time it will be reused for getting the appropriate results.
While looking at the server side programming languages, I tried another approach at comparison. I took the Top 10 most popular sites & listed out the language used in them. The results were mighty interesting :wink: .
Top 10 Sites (as per Alexa)
- Google (Help/feedback sections are clearly Python pages..but main site?)
- Facebook (PHP)
- Youtube (PHP)
- Yahoo (PHP)
- Live (ASP.NET)
- Baidu (PHP)
- Wikipedia (PHP)
- Blogger (???)
- MSN (ASP.NET)
- Twitter (Said to be Ruby On Rails)
(1) Our very own WordPress is made with PHP.
(2) Google is believed to use an array of languages for its site. I wont be surprised if it has developed its own custom language based on Python & C :P .
In this little survey, PHP has come out the winner. Java & ASP.NET have more reputed sites among them (powerful companies are its developers
+ a dedicated support system ensures that big sites always use JAVA/.NET especially for financial transactions) but the open source languages like PHP, Python have the numbers(huge number of small scale sites) & luckily for PHP, some of the large scale sites using it have become so renowned that they are right there lying smug on top of the popularity list :cool: .
Debate : Languages used in Google & other popular sites
Various Languages List
Tiobe Stats Criticism