https://kotlinlang.org logo
#compiler
Title
# compiler
z

zak.taccardi

01/15/2020, 5:28 PM
does mixing Java and Kotlin files in the same JVM project affect build speeds negatively? Is it more efficient to be 100% Kotlin? (note: this applies to a JVM project that imports JARs/AARs for Android)
w

wasyl

01/15/2020, 11:25 PM
iirc yes, but I can’t find source 😕 But I recall some performance hit related to multiple compilation passes so that Java sources know about Kotlin classes and Kotlin sources know about Java classes
👍 1
t

tschuchort

01/16/2020, 9:22 PM
Yes, Java compilation is a separate call to the Java compiler.
17 Views