4 ms·
How does it affect built time and the feedback cycle?
by Nilzor 11y ago
How does it affect built time and the feedback cycle?
- jinst8gmi 11y agoBuild times are supposed to be comparable to Java.
- dodyg 11y agoIt's slower.
- mike_hearn 11y agoIt 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.
- zserge 11y agoBuild 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 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).
- kcorbitt 11y agoI also highly recommend Anvil. Anvil + Kotlin makes Android development feel sane and at times even joyous! I should write a blog about my experiences.