Do Kotlin Multiplatform have something like R8 to make the binary code more efficient ?
j
jw
03/05/2025, 2:17 PM
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
Tóth István Zoltán
03/05/2025, 2:38 PM
JS uses webpack which does tree shaking and minification IIRC