When I asked "why kotlin-native compilation is slo...
# kotlin-native
k
When I asked "why kotlin-native compilation is slow ?". Some said its gradle some said its jvm. But I don't know what is real reason. btw, I tried compiling using meson build. was quick. please KN experts explain, why and whats bottleneck in KN right now ?
b
It's a brand new compiler tool chain
That's a major factor
b
And improving rapidly. Big improvement from 1.3.6 to 1.3.7 (more noticeable on medium-size project, less noticeable on small sample). And big improvement from 1.3.7 to 1.4-M1 (albeit I've only tested 1.4-M1 on small samples).
k
love this line "If you’re not convinced yet, try it yourself."
kotlin.js.compiler=ir
what's for native ?
e
Native was IR-backed from day one (and still is)