Kotlin becomes second most popular language on the JVM

栏目: IT技术 · 发布时间: 4年前

内容简介:While the variety of JVM languages grew over the last couple of years, the large majority of JVM users — nearly 9 out of 10 — still use Java as their main language.One of the reasons we see this consistently large percentage over the years, is the fact tha

Welcome to our annual JVM ecosystem report! This report presents the results of the largest annual survey on the JVM ecosystem, showing results from the survey gathering over 2000 responses in the second half of 2019. We would like to thank everyone who participated and offered their insights on Java and JVM-related topics.

This report is split into six posts:

  1. JVM ecosystem report 2020 – Introduction
  2. 36% of developers switched from Oracle JDK to an alternate OpenJDK distribution, over the last year
  3. 64% of developers report that Java 8 remains the most often used release
  4. Kotlin overtakes Scala and Clojure, to become the 2nd most popular language on the JVM
  5. Spring dominates the Java ecosystem with 60% using it for their main applications
  6. IntelliJ IDEA dominates the IDE market with 62% adoption among JVM developers

We also have a lovely handcrafted pdf report which contains all of this information in one downloadable place.

DOWNLOAD THE JVM ECOSYSTEM 2020 REPORT!

What is the main JVM language you use for your main application?

While the variety of JVM languages grew over the last couple of years, the large majority of JVM users — nearly 9 out of 10 — still use Java as their main language.

One of the reasons we see this consistently large percentage over the years, is the fact that Java

is constantly changing. Many of the language constructs and paradigms that other JVM languages have been using to differentiate themselves from Java, have been introduced and implemented in Java, such as local type inference, and lambdas, to name just a couple. The new Java release cycle also makes these new features available to developers earlier than before.

However, despite the strong preference for Java, the use of other JVM languages grew as well. Particularly Kotlin, a language developed by JetBrains, gained a lot of popularity over the last couple of years. In fact, Kotlin grew from 2.4%, according to last year’s report, to an impressive 5.5%.

Kotlin becomes second most popular language on the JVM

The growth of Kotlin adoption, among JVM users, is not surprising considering how seamlessly it integrates with Java. Not to mention that, the adoption of Kotlin in frameworks like Spring Boot made it easier to create production-grade systems

It is important to note that, the innovations Kotlin tries to achieve flow back into the development of Java. Newer Java versions try to integrate concepts that are popular and loved in languages like Kotlin. It is interesting to see how this influences the future adoption of different JVM languages.

Do you write or maintain any Java applications? For those who don’t use Java in their main application, do they use it at all?

Not every JVM developer uses Java as their main language. Based on the responses to the previous question, JVM developers who predominantly use other languages in their application, account for 13%. Out of this group of developers, the majority (70%) still uses Java in some capacity, during their regular work.

This means that 96% of overall respondents use Java, either as their main language or to a smaller extent, in their application. Only 4% of respondents run applications on the JVM that entirely use alternative JVM languages.

Kotlin becomes second most popular language on the JVM

Are you using, or are you planning to use, Java modules in your Java applications?

The release of Java 9 introduced some major architectural changes. The most famous and impactful change was the introduction of the module system, formally known as the Java Platform Module System (JPMS). This new abstraction above packages make it possible to create a smaller, more fit-for-purpose JDK

But architectural changes of this magnitude are bound to have a large impact on older or legacy systems, if they are to be migrated. It’s important to note, however, that you are not forced to use the module system in Java 9 and higher. You are able to continue to use the classpath while the module system silently bundles all your jars into the unnamed module.

When we asked developers whether they are using

or plan to use the module system, we got some interesting results with only 7% of the respondents stating that they are already using it. The vast majority of the participants — over 6 out of 10 — do not use the JPMS while 29% plan to use it in the future.

Kotlin becomes second most popular language on the JVM

How easy was it to adopt Java modules?

When it comes to adopting Java modules, the opinions on the level of difficulty differs. While a quarter of the respondents found the adoption process to be neither hard or easy, a significant percentage (25%) found the JPMS adoption to be rather hard (7/10 or higher). The mean, median and modal averages were all 5/10. According to these responses, it is safe to conclude that, while adopting Java modules takes time and effort, it’s not rocket science!

Kotlin becomes second most popular language on the JVM

Did you adopt Java modules while writing new applications or while migrating older ones?

Adopting something new is considered easier

when you work on a greenfield project. Creating an application from scratch, for the most part means that you do not have to deal with the complicated evolution of a software project. When it comes to adopting Java modules, though, this is not always the case. According to our survey, almost half of the respondents adopted Java modules while migrating older applications.

Kotlin becomes second most popular language on the JVM

There’s more to this report! Which section do you want to read next?

  1. JVM ecosystem report 2020 – Introduction
  2. 36% of developers switched from Oracle JDK to an alternate OpenJDK distribution, over the last year
  3. 64% of developers report that Java 8 remains the most often used release
  4. Kotlin overtakes Scala and Clojure, to become the 2nd most popular language on the JVM
  5. Spring dominates the Java ecosystem with 60% using it for their main applications
  6. IntelliJ IDEA dominates the IDE market with 62% adoption among JVM developers

DOWNLOAD THE JVM ECOSYSTEM 2020 REPORT!


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

计算机网络(第5版)

计算机网络(第5版)

Andrew S. Tanenbaum、David J. Wetherall / 严伟、潘爱民 / 清华大学出版社 / 2012-3-1 / 89.50元

本书是国内外使用最广泛、最权威的计算机网络经典教材。全书按照网络协议模型自下而上(物理层、数据链路层、介质访问控制层、网络层、传输层和应用层)有系统地介绍了计算机网络的基本原理,并结合Internet给出了大量的协议实例。在讲述网络各层次内容的同时,还与时俱进地引入了最新的网络技术,包括无线网络、3G蜂窝网络、RFID与传感器网络、内容分发与P2P网络、流媒体传输与IP语音,以及延迟容忍网络等。另......一起来看看 《计算机网络(第5版)》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

MD5 加密
MD5 加密

MD5 加密工具

SHA 加密
SHA 加密

SHA 加密工具