News

Microsoft's C# Programming Language Chosen Most Popular

The contest was based on the growth in the number of searches from the previous year.

Microsoft's chief .NET Framework language won a beauty contest. What that means, if anything, is another matter.

In terms of growth, C# surpassed all other programming languages in a popularity contest called the PopularitY of Programming Language (PYPL) index, based on Google Trends data from 2012.

The PYPL, created by Pierre Carbonnelle, measures popularity by the number of Google searches for tutorials in the respective languages.

While Carbonnelle crowned C# as the 2012 king, this coronation was based on the growth in the number of searches from the previous year. In terms of the overall number of searches, Java comes in at No. 1, with about 31 percent of the overall share of searches, followed by PHP (15 percent), and C++ and C# (basically tied at about 10 percent).

In these overall terms, the top 10 languages were reported as:

  1. Java
  2. PHP
  3. C++
  4. C#
  5. C
  6. Python
  7. JavaScript
  8. Visual Basic
  9. Ruby
  10. Perl

However, C# earned its election as programming language of the year due to its 1.8 percent growth during 2012, edging out C++ (1.1 percent) and Python (0.8 percent). This growth propelled it from No. 6 in 2011 to No. 4 last year. PHP reported the biggest decline in search percentage, at -1.8 percent.

Carbonelle, who blogs about Python, noted that his favorite language had the biggest increase in search share for the past five years. He also took some pot-shots at the more well-known TIOBE Programming Community Index, which for the second year running awarded the "programming language award" to Objective-C.

The TIOBE index, updated monthly, is based on market share rankings using data such as the number of skilled engineers using the language worldwide, number of courses offering it and number of third-party vendors offering it, collected from search data from Google, Bing, Yahoo, Wikipedia, Amazon, YouTube and Baidu.

Carbonelle said the TIOBE index is a "lagging indicator" while the PYPL is a "leading indicator."

TIOBE "counts the number of Web pages with the language name," Carbonelle said. "Objective-C programming has over 28 million pages on the Web, while C programming has only 11 million. This explains why Objective-C has a high TIOBE ranking. But who is reading those Objective-C Web pages? Hardly anyone, according to Google Trends data."

Objective-C won the TIOBE award because it had the highest reported growth, at 3.37 percent, which moved it up from No. 5 in overall 2011 rankings to No. 3 for 2012. C++ came in at No. 2 with 1.09 percent growth from 2011 to 2012, followed by Python at 0.96 percent.

The TIOBE Programming Community Index for January 2013 lists overall language popularity thusly:

  1. C
  2. Java
  3. Objective-C
  4. C++
  5. C#
  6. PHP
  7. (Visual) Basic
  8. Python
  9. Perl
  10. JavaScript

At his PYPL site, Carbonelle provides tools for readers to conduct their own research, such as analyzing language popularity for different countries.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • See Prompts Microsoft Engineers Use for Bleeding-Edge Multimodal RAG AI Research

    Vision-centric queries show how front-line experts are prompting LLMs these days.

  • AI Explains Expressions in Update to Java on VS Code

    "The Spring Tools now show code lenses above these expressions that allow you to quickly let GitHub Copilot explain those statements for you."

  • Microsoft Eases Integration with Semantic Kernel AI SDK

    The basic idea is to provide unified API abstractions, especially for idiomatic C# code, to help platform developers and others work with any provider with standard implementations for caching, telemetry, tool calling and other common tasks.

  • Final .NET 9 Preview Ships with Go-Live License

    Visual Studio developers can now download the SDK for .NET 9 Release Candidate 2 with a go-live license, meaning devs get Microsoft support for production applications even before the framework reaches general availability next month.

Subscribe on YouTube