Programming languages: Java still rules over Python and JavaScript as primary language

But Python is the language that most developers are learning these days.

Developer: Pain-solving Rust is the most-loved programming language

Java, JavaScript and Python are invariably the three most popular programming languages in several indexes, but their exact order varies depending on how the ranking is calculated. Lately most have placed JavaScript and Python ahead of or equal to Java. 

But a new survey from Czech IDE maker JetBrains has found that Java, historically the most popular programming language, is still the top main language used by developers.

"Java is the most popular primary programming language," declares JetBrains in its State of Developer Ecosystem 2020 report

SEE: Programming languages and developer career resources (TechRepublic on Flipboard)

JetBrains makes the popular IntelliJ IDEA Java IDE, which is also the foundation for Google's Android Studio, as well as Kotlin, a programming language that Google officially supports for Android development, and the widely used PyCharm IDE

JetBrains' survey of almost 20,000 developers found on the other hand that JavaScript is the most used overall programming language. 

JetBrains asked developers to pick up to three languages they consider their primary programming language. In this context, JavaScript comes out on top (39%), followed Java (37%), and Python (31%). 

JetBrains analyst Sichkarenko Anastassiya explained the apparent discrepancy by saying each languages' position – first, second or third – was assigned a weighting to produce an overall popularity ranking. 

The company also told The Register that Java's superior ranking as a primary language comes down to lots of developers using JavaScript as part of a project, but its use falls when considering where developers spend most of their time. 

JetBrains also notes that Python, whose popularity has surged due to the growth of machine learning, has overtaken Java in terms of languages used in the past year. Python is also the 'most-studied' language, with almost a third of respondents starting or continuing Python education last year. 

Use of Microsoft-created TypeScript, a language for large JavaScript codebases, has also grown significantly and is now the primary language for 12% of developers, up from 1% in 2017. 

Its growth in JetBrains' survey lines up with other programming language popularity rankings and is also reflected in native support in the new Deno runtime, a potential successor to the widely-used Node.js JavaScript runtime.      

The top three languages developers plan to adopt include Google's system programming language Go, JetBrains' Kotlin, which Google supports for Android development, and Python. 

Rust – a system programming language created at Mozilla that Microsoft is embracing for code written in C and C++ – is fourth on the list of planned languages, followed by TypeScript, Apple's Swift, and Google's Dart.   

Among desktop application developers, Windows is the top target (86%), followed by Linux (68%), and macOS (38%).

SEE: Programming languages: Developers reveal what they love and loathe, and what pays best

JetBrains says two-thirds of developers use native tools to develop apps for Android and iOS, while half of all developers use cross-platform frameworks like Facebook's React Native, Microsoft's Xamarin, and Google's UI framework Flutter. 

The order of mobile cross-platform frameworks hasn't changed much from last year's survey. React Native remains the most popular cross-platform framework (42%), followed by Flutter (39%), with Ionic and Cordova tying in third place (18% each). 

JetBrains notes that shares of shares of Cordova, Ionic, and Xamarin have declined slightly over the past year. 

jetbrainslanguagesjun20.jpg

Go, Kotlin, Python are the top three languages developers are planning to adopt or migrate to.

Image: JetBrains

More on programming languages

  • Programming language Go: Microsoft hands VS Code Go extension to Google's Go team  
  • Microsoft: This new update makes VS Code friendlier for Java programming language jobs  
  • Programming languages: Developers reveal what they love and loathe, and what pays best  
  • Programming languages: Rust enters top 20 popularity rankings for the first time  
  • Microsoft: Here's why we love programming language Rust and kicked off Project Verona  
  • Microsoft: Bosque is a new programming language built for AI in the cloud  
  • Programming languages: Python apps might soon be running on Android  
  • Programming languages: Python developers reveal what they use it for and their top tools  
  • Microsoft: Our new free Python programming language courses are for novice AI developers  
  • Goodbye Python 2 programming language: This is the final Python 2.7 release  
  • PyCharm: Here's what Python programming language developers get in new IDE update  
  • New programming language rankings: Python now as popular as Java, as TypeScript climbs  
  • Programming languages: Java developers flock to Kotlin and ditch Oracle JDK for OpenJDK  
  • Programming languages: Go and Python are what developers most want to learn  
  • Know Python language and up for a 'hardcore' coding test? Get in touch, says Tesla  
  • Java or C++, Full stack or Front end: The programming languages and developer jobs that pay you the most  
  • Google reveals new Python programming language course: Scholarships for 2,500  
  • Netflix: Our Metaflow Python library for faster data science is now open source  
  • Tech jobs: Python programming language and AWS skills demand has exploded  
  • Python programming language creator retires, saying: 'It's been an amazing ride'
  • Programming languages: How Instagram's taming a multimillion-line Python monster
  • Salesforce: Why we ditched Python for Google's Go language in Einstein Analytics  
  • Microsoft: We want you to learn Python programming language for free
  • JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time TechRepublic
  • Mozilla's radical open-source move helped rewrite rules of tech CNET