News

C# Overtaking Java in Popularity Index

"The gap between C# and Java never has been so small," says the latest edition of the TIOBE Index of programming language popularity. "Currently, the difference is only 1.2 percent, and if the trends remain this way, C# will surpass Java in about 2 month's time."

The TIOBE Index tracks programming language popularity on a monthly basis, using a methodology that takes into account several sources including the number of skilled engineers worldwide, courses and third party vendors for languages, while also enlisting popular search engines for data to calculate the ratings.

The decades-long length of the project lets it track long-term historical trends, and the latest one identified by Paul Jansen, CEO of TIOBE Software, sees the ascent of C# at the expense of Java -- with Oracle and Kotlin being major factors in Java's decline.

[Click on image for larger view.] TIOBE Index October 2023 (source: TIOBE).

"Java shows the largest decline of -3.92 percent and C# the largest gain of +3.29 percent of all programming languages (annually)," Jansen said. "The two languages have always been used in similar domains and thus have been competitors for more than 2 decades now. Java's decline in popularity is mainly caused by Oracle's decision to introduce a paid license model after Java 8."

Microsoft, however, even though it was widely known as a proprietary, closed-off monolith in the tech scene, went in a different direction with C# as the company became more open. It embraced the open source community and removed the usage requirement for C# that allowed it to be used only in the commercial Visual Studio IDE.

"Nowadays, C# is free and open source and it's embraced by many developers," Jansen continued. "There are also other reasons for Java's decline. First of all, the Java language definition has not changed much the past few years and Kotlin, its fully compatible direct competitor, is easier to use and free of charge."

Here's the long-range downward trajectory of Java:

[Click on image for larger view.] Decline of Java (source: TIOBE).

And here's the long-range upward trajectory of C#:

[Click on image for larger view.] Ascent of C# (source: TIOBE).

TIOBE said its index is not about the best programming language or the language in which most lines of code have been written, but rather a measure of popularity that can be used to check whether a developer's programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

  • TypeScript Tops New JetBrains 'Language Promise Index'

    In its latest annual developer ecosystem report, JetBrains introduced a new "Language Promise Index" topped by Microsoft's TypeScript programming language.

Subscribe on YouTube