Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Taming the Kotlin Compiler [Revised] (Droidcon ...

Taming the Kotlin Compiler [Revised] (Droidcon Madrid 2019)

As more and more Android code is being written in Kotlin, and many developers are switching over from Java, the performance of the Kotlin compiler has become a hot discussion topic. Javac has been tuned and optimized for many years, so how does kotlinc compare?

In addition, there are a whole new family of tools around kotlinc, such as kapt, the Kotin Gradle plugin and more. How can one use them efficiently to get optimal performance?

In this talk, we’ll take a deep dive into the following:

* Is Kotlin slower than Java? Should you worry?
* Caching and incrementality of Kotlin compilation
* How to use Kotlin with Gradle efficiently
* What is compilation avoidance and what are the state of things in Kotlin?
* Kotlin compilation in the context of Android and Multiplatform

This talk will help you develop a better understanding of how your code is built, what performance bottlenecks exist in the toolchain, and how to avoid them to improve your build times.

Video: coming soon!

John Rodriguez

December 21, 2019
Tweet

More Decks by John Rodriguez

Other Decks in Technology

Transcript