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!


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

查看所有标签

猜你喜欢:

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

成为乔布斯

成为乔布斯

[美] 布伦特·施兰德、[美] 里克·特策利 / 陶亮 / 中信出版集团 / 2016-10 / 69.00元

本书描绘了一位多姿多彩的人物将与生俱来的激情与成熟的管理方式相结合,打造出史上最有价值、最受消费者追捧的公司,这本书将彻底改变我们看待乔布斯的方式。 本书推翻了关于史蒂夫·乔布斯的传说和陈词滥调,比如他是天才和混蛋的结合体,暴躁易怒、自私自利,怠慢朋友与家人。本书揭示了这位苹果联合创始人和CEO的家庭生活与职业生涯,并回答了一个关键问题:为什么如此轻狂傲慢、以至于被赶出苹果的年轻人能成为史上......一起来看看 《成为乔布斯》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具