29 ms·
How large is the codebase? I moved to kotlin from scala and find the compilation to be rapid in comparison. Fwiw, I’m normally on a beefy desktop so I might ju
by stepbeek 5y ago
How large is the codebase? I moved to kotlin from scala and find the compilation to be rapid in comparison.
Fwiw, I’m normally on a beefy desktop so I might just be brute forcing this issue.
- cs-szazz 5y ago11,503 files, 1,431,195 lines of code. (spread out over <50 Gradle modules). I think the main problem is that Gradle doesn't have the same support as Java for ABI compatible changes, so invalidation of modules are more common.
- stepbeek 5y agoThis article points to ABI as an open optimization problem in kotlin: https://blog.jetbrains.com/kotlin/2020/09/the-dark-secrets-of-fast-compilation-for-kotlin/ https://blog.jetbrains.com/kotlin/2020/09/the-dark-secrets-o... I think you're right - ABI compatible changes are likely the culprit.