Do Kotlin Multiplatform have something like R8 to ...
# multiplatform
n
Do Kotlin Multiplatform have something like R8 to make the binary code more efficient ?
j
LLVM does many optimization passes on Kotlin/Native code. Binaryen does so on Wasm. For JS there's a million tools and I never remember which one is used by default, but the Kotlin compiler itself also does some DCE before even producing the JS.
t
JS uses webpack which does tree shaking and minification IIRC