Kotlin Census
2020
Introduction
This report shows the results of the Kotlin Census Survey conducted by JetBrains. We surveyed 6,696 developers at the beginning of 2020, and their answers have helped us recognize the trends, patterns, and state of our language. We now better understand the adoption of Kotlin in development teams, the methods and materials developers use to learn Kotlin, its place in college and university education, and much more.
To minimize possible bias against non-English-speaking respondents, we offered the survey in four additional languages: Chinese, French, Japanese, and Korean.
Key highlights
Kotlin has definitely matured as a language since the last Kotlin Census. There is an increase in its adoption at larger companies, in its use in production code, and it being chosen as a main language. All this indicates that there is an upward trend for using Kotlin as a language for industry and professional development. The time of experiments has gone — now it's time for achievements!
66%
of Kotlin users use the language in production, up from last year’s 57%.
56%
of respondents have chosen Kotlin as their main language, up from 39% last year.
4.43
is the mean average rating for experience with the Kotlin plugin for IntelliJ IDEA.
Developers recommend Kotlin first and foremost for Android and server-side development. Every 5th user recommends it for multiplatform development.
Use of Coroutines increased to 56% from 45% in 2018.
The geography of the respondents
We reached Kotlin users living in 122 different countries. “Other” includes countries with fewer than 1%.
Community Portrait
We open our report with a section describing the people in the Kotlin community. From this section you can get insights about age, years of professional experience, employment status, job roles, and many other interesting facts about the Kotlin community.
Age
Years of professional coding experience
Employment status
Job roles
Company size
Target industries respondents develop for
Company’s line of work
Size of project team
Main programming language
Additional programming languages
The most frequent combination of languages from 49% of respondents in this survey was Kotlin as the main programming language with Java used additionally. The second most popular combination is Java with Kotlin. The third is Kotlin with JavaScript.
Experience with using Kotlin
User group membership
Kotlin news sources
Adoption
This section contains insights into the behavior of the community concerning Kotlin adoption. It explores how people use Kotlin, how often they use it, why people don’t use Kotlin yet, and much more. It also covers which roles in a development team are more likely to become advocates for Kotlin, and the methods and materials respondents prefer to use for learning.
What do respondents develop in Kotlin?
Platforms targeted with Kotlin
Plans to try Kotlin for other platforms
How Kotlin is being used
Inspiration to try Kotlin
Looking for inspiring stories to try Kotlin?
Check out the case studies of leading worldwide companies that use Kotlin in production.
Frequency of usage
More than half of respondents write 70% or more of their daily code in Kotlin.
Who initiates the adoption of Kotlin in teams?
First exposure
Helpful learning resources
Tasks Kotlin is recommended for
Reasons for not adopting Kotlin
Ecosystem
This section demonstrates what tools, frameworks, libraries, serverless technologies, and so on the Kotlin community is using.
You can also find insights on the Gradle Kotlin DSL and popularity of Kotlin usage for task automation in this section.
Main IDE for Kotlin development
90%
of respondents rated their overall experience with the Kotlin plugin as 4 or 5 out of 5.
Build tools usage
Do you use the Gradle Kotlin DSL?
Usage of JetBrains Kotlin libraries and frameworks
Most used kotlinx.coroutines features
Only Coroutines users were asked this question.
Usage of other Kotlin libraries and frameworks
Top-10 Android-specific Kotlin libraries and frameworks
Do you use serverless computing?
Most used language for serverless
Popularity of cloud providers
Task automation
Languages used for automation scripting
56%
of respondents use 2 or more scripting languages for task automation.
Multiplatform
This section provides an overview of how the community uses Kotlin Multiplatform Projects for sharing code across platforms in the applications.
If you want to learn more about the benefits of multiplatform, please visit this section of the Kotlin website.
Do you use Multiplatform Projects for sharing your code across platforms?
79% of respondents would like to try Multiplatform Projects in the future.
Multiplatform Projects usage
Only Multiplatform Project users were asked this question.
The most popular combinations for cross-platform apps with Kotlin Multiplatform Projects (MPP) are Android and iOS (53% of MPP users), Android and JVM (26% of MPP users), and JVM and JavaScript in the browser (26% of MPP users).
Parts of projects shared across multiple platforms
Kotlin Multiplatform Mobile
The natural way to share code between mobile platforms.
Create your first project using our step-by-step guide.
Application types respondents would like to try Multiplatform Projects for
Kotlin Multiplatform Web
Build connected applications and share logic between the server and the client-side running in the browser.
Try it out using our step-by-step guide.
Kotlin for Server-side
This section is highlighting patterns of Kotlin usage among web backend developers.
If you’re using Kotlin for server-side development or looking at Kotlin for the future, check out our Kotlin Server landing page. It contains all the essential information about Kotlin tooling, libraries, and industrial use cases.
The charts in this section are based on the answers from the respondents who checked “Web backend” in the question “What types of software do you currently develop in Kotlin?” There were 1989 answers in total.
Platforms targeted with Kotlin
Main Kotlin development IDE
Build tool usage among server-side developers
58%
of respondents who use Kotlin for web backend development use the Gradle Kotlin DSL.
Top 10 Kotlin libraries and frameworks for web backend development
JDK versions
Do you use the Java module system?
Do you use Multiplatform Projects for sharing code across platforms?
Kotlin for Web Frontend
At the moment, according to our analytics, there are over 12,000 projects using Kotlin/JS. As the number of Kotlin use cases for web development with Kotlin is so significant, we just had to dive into the data to learn how exactly respondents are using Kotlin/JS, where they run JavaScript code compiled from Kotlin, and which libraries and frameworks they prefer.
97% of respondents use Kotlin/JS together with Kotlin on the server side of their web applications.
The charts in this section are based on the answers from those respondents that checked “Web Frontend” to the question “What types of software do you currently develop in Kotlin?” There were 255 answers in total.
Platforms targeted with Kotlin
Purpose of Kotlin/JS usage
Kotlin/JS build approach
Most popular UI frameworks
Do you use Multiplatform Projects for sharing code across platforms?
The most popular combinations of platforms for code sharing are JVM and JavaScript in the browser (69%) and Android and JavaScript in the browser (34%).
Kotlin in Universities
Over 2019–2020, Kotlin has grown as a language of choice for many educators at universities, colleges, and schools.
We’ve asked a few questions about Kotlin in education and are happy to share insights gained from the Kotlin Census here.
Does your university / school / college offer one or more Kotlin courses?
Places where Kotlin is taught
Kotlin Census 2020 Raw Data
These infographics include only the most interesting facts. You are welcome to dig deeper into the raw data and find more insights if you are interested:
The data has been anonymized, with no personal information or geolocation details. To prevent the identification of any individual respondents by their verbatim comments, all open-ended fields have been shortened.
Thank you for your time!
We hope you found our report useful. Share this report with your friends and colleagues.
Participate in future surveys
If you have any questions or suggestions, please contact us at surveys@jetbrains.com.