Hacker News new | ask | show | jobs
by Nilzor 3887 days ago
How does it affect built time and the feedback cycle?
1 comments

Build times are supposed to be comparable to Java.
Build times are used to be slower, but I think recent Kotlin compilers have "daemon" mode to speed things up.

I personally use Kotlin on a daily basis for Android development and build time is comparable to the one of Java. May I also recommend Anvil framework (https://github.com/zserge/anvil)? It brings declarative layouts and data bindings, which works best with the immutable data types of Kotlin (much like React does in the web).

I also highly recommend Anvil. Anvil + Kotlin makes Android development feel sane and at times even joyous! I should write a blog about my experiences.
It's slower.
It depends how you use it.

At the moment the gradle plugin doesn't do incremental compilation. If you use it for Android, that's an issue because of the Android build system.

I use Kotlin for free standing programs that run on my laptop/desktop. In these cases it's about as fast as Java, but that's because IntelliJ controls the compilation itself and gradle/maven is used only rarely.