It is very disappointing to see that faster linkin...
# kotlin-native
n
It is very disappointing to see that faster linking isn't in the current Kotlin Roadmap ( https://kotlinlang.org/docs/roadmap.html ). With the many Kotlin Native projects that I have done the main contributor to build time (around two thirds) is the linking task. There was one case where adding a Kotlin Native library (eg Ktor Server) significantly increased the linking time by around 45 seconds 🤕. In another case making an edit to a line in a Kotlin source file increased the linking time by around 15 seconds.
m
There are "Improve compilation time" and "making the change-test-debug cycle really fast" goals. AFAIK in K/N task named "linking" in Gradle actually is compiling - from Kotlin IR to LLVM IR, then from LLVM IR to machine code.
🆗 1