Programming languages for artificial intelligence 2024

IntroductionThere are a lot of articles about which programming languages are best for AI. I have previously posted on these in 2022 and 2023, 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.MethodologyOnly articles that were dated 2024 were considered. Despite this restriction, the data used in this analysis came from 54 different articles. Each article was from a different author, to prevent duplication. I analysed the lists in three ways:The frequency at which a language appeared in the lists, regardless of the position on the list;The median rank assigned to each language across all lists in which is appears, and;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.ResultsThe length of the lists ranged from four to ten, 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:PythonJavaC++JuliaRJavaScriptLispPrologScalaHaskellIn order of median rank:PythonASP.netJavaRC#C++SQLJavaScriptJuliaHTMLNote that this is only the median rank of languages, regardless of how often they are listed. This has the effect of pushing some languages, such as ASP.net, higher up the list than they would otherwise be. This is corrected by the weighted median rank.The top ten languages for AI, as ordered by weighted median rank, are:PythonJavaRC++JuliaJavaScriptLispPrologHaskellScalaComparing this to the weighted top tens from 2022 and 2023, we can see that while their specific rankings vary slightly, the contents of the list hasn't changed. That is, the top ten languages have stayed the same over the years. 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 entered the top five for the first time.Referenceshttps://www.index.dev/blog/top-ai-programming-languageshttps://www.coursera.org/articles/ai-programming-languageshttps://www.revelo.com/blog/what-programming-languages-are-used-to-make-aihttps://www.simform.com/blog/ai-programming-languages/https://www.upwork.com/resources/best-ai-programming-languagehttps://www.datacamp.com/blog/ai-programming-languageshttps://medium.com/@sphinxshivraj/top-ai-programming-languages-you-should-master-in-2024-3bb3ea38e6b9https://www.linkedin.com/pulse/top-10-ai-programming-languages-you-need-know-2024-2025-69zqf/https://blogs.cisco.com/developer/which-programming-language-to-choose-for-ai-in-2024https://www.netguru.com/blog/ai-programming-languageshttps://www.cmarix.com/blog/ai-programming-languages/https://ellow.io/best-programming-languages-for-ai-development/https://www.wedowebapps.com/best-ai-programming-languages/https://fortune.com/education/articles/ai-programming-languages/https://phoenixnap.com/blog/ai-programminghttps://www.tapscape.com/top-programming-languages-for-ai-development-in-2024/https://www.springboard.com/blog/data-science/best-programming-language-for-ai/https://cyboticx.com/insights/10-best-ai-programming-languages-in-2024https://flatirons.com/blog/ai-programming-languages/https://futureskillsacademy.com/blog/top-ai-programming-languages/https://www.linkedin.com/pulse/top-ai-programming-languages-2024-centizen-ojyoc/https://visionx.io/blog/ai-programming-languages/https://codeinstitute.net/global/blog/popular-programming-languages-ai-trends/https://thinkpalm.com/blogs/8-best-ai-programming-languages-for-ai-development-in-2024/https://www.inapps.net/most-popular-ai-programming-languages/https://www.hyperlinkinfosystem.com/blog/best-ai-programming-languageshttps://industrywired.com/top-10-programming-languages-for-ai-and-ml-in-2024/https://invozone.com/blog/top-8-programming-languages-for-ai-development-in-2022/https://nintriva.com/blog/top-ai-programming-languages/https://www.appliedaicourse.com/blog/ai-programming-languages/https://twm.me/posts/top-programming-languages-ai/https://www.addwebsolution.com/blog/ai-programming-languageshttps://litslink.com/blog/8-best-ai-programming-languages-for-ai-and-mlhttps://www.whizzbridge.com/blog/best-programming-language-for-aihttps://industrywired.com/programming-languages-for-ai-and-ml-projects-in-2024-trends-and-technologies/https://www.21twelveinteractive.com/most-popular-ml-and-ai-programming-languages-to-use-in-2024/https://www.zegocloud.com/blog/ai-programming-languageshttps://www.zealousys.com/blog/top-ai-programming-languages/https://luby.co/programming-languages/best-10-ai-programming-languages/https://www.simplilearn.com/ai-programming-languages-articlehttps://www.softude.com/blog/best-programming-languages-to-build-ai-appshttps://www.orientsoftware.com/blog/ai-programming-languages/https://www.analyticsinsight.net/latest-news/programming-languages-for

Jan 30, 2025 - 09:46
 0
Introduction

There are a lot of articles about which programming languages are best for AI. I have previously posted on these in 2022 and 2023, 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.

Methodology

Only articles that were dated 2024 were considered. Despite this restriction, the data used in this analysis came from 54 different articles. 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 ten, 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. ASP.net
  3. Java
  4. R
  5. C#
  6. C++
  7. SQL
  8. JavaScript
  9. Julia
  10. HTML
Note that this is only the median rank of languages, regardless of how often they are listed. This has the effect of pushing some languages, such as ASP.net, higher up the list than they would otherwise be. 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. Haskell
  10. Scala
Comparing this to the weighted top tens from 2022 and 2023, we can see that while their specific rankings vary slightly, the contents of the list hasn't changed. That is, the top ten languages have stayed the same over the years. 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 entered the top five for the first time.

References