We're presenting the results of the Kotlin Census 2018 Survey, which was held between December 2018 and March 2019. 4300 developers (not just Kotlin users) shared their insights and feedback with us on how Kotlin fit into their world.
We are grateful to everyone who took part in the survey to help us get an accurate reflection of the incredible Kotlin community.
Kotlin is a multi-purpose language that is being used to develop almost every kind of application, be it server-side, desktop, mobile, or even embedded.
Designed and developed by JetBrains, Kotlin has seen significant growth and support from tech giants and developers. 2016 saw the release of Kotlin 1.0. Then in 2017, Google announced Kotlin as a first-class language for Android. In 2018, the language had already reached 1.5M+ users and had over 96,000 repositories on Github.
Today, over 70 members of the core Kotlin development team and more than 250 amazing contributors drive the language and ecosystem growth. In this report, you will find deeper insights on the trends, the state of Kotlin community, and use of the language.
More than half of the respondents use Kotlin in their production code. Gradle, Pinterest, Atlassian, Pivotal and many more companies are among those who use Kotlin in production.
55% of respondents report a lack of knowledge as the main barrier stopping them from using Kotlin in production. We have compiled a list of useful material to help anyone start learning Kotlin.
Users are sticking with Kotlin. People are reaching higher levels of experience with Kotlin. If they have used Kotlin for over a year, it looks like they usually stick with it.
Help your community learn the essentials and best practices of using Kotlin on all platforms. For more info go to everywhere.kotlinlang.org
The most popular usage for Kotlin is JVM at 67%, with Android coming in a pretty close second at 57%.
25% of users are developing 2 types of apps with Kotlin.
15% develop 3 types of apps, but still most developers use Kotlin in production for just one type of app. The most popular combinations are Web Back-end with Mobile and Web Back-end with Library or framework.
Multiplatform Projects first appeared in Kotlin 1.2 and it was then significantly improved upon for the Kotlin 1.3 release. It includes a set of specific libraries to help you write multiplatform code.
Multiplatform Projects first appeared in Kotlin 1.2 and the feature was drastically improved in Kotlin 1.3. A set of specific libraries is provided to help you write your multiplatform code.
Learn more about how to start sharing code across platforms with MPP.
We asked the respondents who do not use MPP yet if there were some parts of their projects they would like to share across platforms, and which platforms those would be. We were surprised to find out that a whopping 75% of our respondents who do not use MPP yet would be glad to share some parts of their current project, especially algorithms and data structures (41%) and data format (32%).
There should be no surprises that Kotlin and IntelliJ IDEA, both developed by JetBrains, are a perfect match.
Android Studio is based on the IntelliJ Platform and provides a great user experience for mobile development too. Both of these IDEs are the leaders according to the Census.
The most popular Gradle versions are 4.1 and 5.0.
The usage of libraries has almost doubled since 2017, and the most used libraries continue to grow in popularity.
Respondents tended to use more community-driven resources in 2018 than in 2017. Blog posts and Stack Overflow overtook the official documentation.
The popularity of meetups and conferences as a source of Kotlin knowledge has increased by 70%. So has the popularity of YouTube content and samples and examples on Github.
We on the Kotlin team are excited to see the growth of community-driven content in terms of quantity as well as popularity. We support this all the way and we thank all the authors and speakers out there for sharing their Kotlin knowledge!
If you are a Kotlin event organizer, speaker, or author, please read more about our Community and Support Program.
Kotlin seems to be a promising programming language for working with data.
This chart shows the statistics on developers using Kotlin for machine learning, data analysis, or BI, which is around 10% of all survey respondents.
If you are interested in getting started with Kotlin for data science, check out the collection of helpful resources assembled by Thomas Nield on Github.
The data includes 4,396 responses from the official Kotlin channels. The survey was made available on the Kotlin blog and shared via internal channels such as Twitter and Facebook.
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.