Monday, January 19, 2026

Programming Languages for Artificial Intelligence 2025

Introduction

There are a lot of articles about which programming languages are best for AI. I have previously posted on these in 20222023 and 2024, producing top ten lists based on a number of articles on this topic from each year. In this post I will update these top ten lists based on 2025 articles.

Methodology

I looked at 39 articles from 2025. Each article was from a different author, to prevent duplication. 

I analysed the lists in three ways:
  1. The frequency at which a language appeared in the lists, regardless of the position on the list;
  2. The median rank assigned to each language across all lists in which is appears, and;
  3. A weighted median rank, where the median rank of the language was weighted according to the frequency at which is appeared in lists. This corrects for outliers that were highly ranked on only a small number of lists.
Results

The length of the lists ranged from four to fifteen, with a median length of nine. The most common list length was ten. Below are the top ten ranked languages, for each analysis method.

In order of frequency, the top ten languages for AI are:
  1. Python
  2. Java
  3. C++
  4. Julia
  5. R
  6. JavaScript
  7. Lisp
  8. Prolog
  9. Scala
  10. Haskell
In order of median rank:
  1. Python
  2. Java
  3. R
  4. C++
  5. C#
  6. Julia
  7. PHP
  8. C
  9. JavaScript
  10. Lisp
Note that this is only the median rank of languages, regardless of how often they are listed. This is corrected by the weighted median rank.

The top ten languages for AI, as ordered by weighted median rank, are:
  1. Python
  2. Java
  3. R
  4. C++
  5. Julia
  6. JavaScript
  7. Lisp
  8. Prolog
  9. Scala
  10. Haskell
Comparing this to the weighted top ten list from 2024, we can see that the contents of the list hasn't changed at all. The ranks of all languages stayed the same, except for Scala and Haskell which switched places. Python has retained it's top spot once again, and Java stays in second place. C++ and R continue to fight it out for third and fourth, while Julia has stayed in the top five.

References


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.