Survey breaks down Kotlin developers' favorite software libraries/code editors and how they use the language.
If you're an Android developer then chances are the Kotlin programming language is on your radar.
The increasingly diverse uses of Kotlin were captured by the JetBrain's Kotlin Census 2018, which polled almost 4,400 developers on how they use the eight-year-old language.
While the Java-compatible programming language is most commonly used by mobile developers (58% of those surveyed), a large number of web back-end developers are also turning to Kotlin (48%). That heavy use of Kotlin at the backend of web sites and services was reflected by the type of platforms developers were targeting, with the most commonly targeted platform being the Java Virtual Machine (JVM) running on web servers (67%), followed by Android (57%).
Kotlin is a modern alternative to Java that is easy to learn and use. It has been described by a Netflix senior software engineer as offering "some of the best features of other languages" combined with "interoperability with Java", due to its ability to run on the Java Virtual Machine (JVM). Kotlin was the only JVM-targeted language to grow in popularity in this year's RedMonk Programming Language Rankings, rising eight places to number 20.
It's worth noting, however, that Java remains far more widely used, sitting in second place in the RedMonk rankings. Interestingly, the Census also found that Kotlin was still typically used as a side language, with most respondents saying they primarily code using Java (42%), closely followed by Kotlin (39%).
SEE: Tips for building a successful career as a software engineer (free PDF) (TechRepublic)
Not only did JetBrain's Kotlin Census capture how the language is being used, it also shed light on the code editors and software frameworks Kotlin developers find most useful.
Most popular JetBrains' framework
As the company behind Kotlin, JetBrains' frameworks are core to Kotlin as a language, with the asynchronous programming-focused kotlinx.coroutines being most popular, the kotlin.test library in second place, and the Ktor framework for building asynchronous servers and clients in third.
Most popular general Kotlin libraries and frameworks
The top three frameworks reflect the dominant usage of Kotlin for Android and web development, with Kotlin Android Extensions the most popular, just behind that is mockito-kotlin for use with the Mockito mocking framework for unit tests, and then RxKotlin for use with the asynchronous programming library RxJava.
Most popular build tools
Most popular code editors and IDEs
The programs used to write Kotlin code varied according to which platform developers were targeting, but JetBrain's IntelliJ IDEA dominated, with a mix of the Ultimate and Community editions, and the IntelliJ-based Android Studio.
Most popular platforms to develop for
As would be expected, Android is the platform that most Kotlin developers build software for, although Linux and Apple's iOS are not far behind.
On average Kotlin is being used to develop software for a wider range of platforms in 2018 than in 2017, up to 2.7.
If you're interested in learning more about Kotlin, check out TechRepublic's guide to free resources that are available.
- Kotlin and Terraform ecosystems gain ground in the enterprise
- Want to learn the fastest-growing programming languages of 2019? Check out these two unstoppable newcomers
- How to learn Kotlin: A resources guide for developers
- Why Kotlin is exploding in popularity among young developers
- Microsoft's GitHub: 'Kotlin for Android now fastest-growing programming language' (ZDNet)
- Which programming languages pay best, most popular? Developers' top choices (ZDNet)