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 at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events