And how much the size we can expect with the Kotli...
# compose-desktop
a
And how much the size we can expect with the Kotlin/Native binaries of compose-desktop in the near future 😁?
🤔 3
s
I doubt compose with current architecture will support kotlin native as it uses AWT & Swing. But you can create a static image using Graal Native Image, which recently added support for Swing.
But i don't expect a small binary as it requires to link the whole skia library (which itself around 9 mb), jdk and application classes.
a
So should not require jdk. Currently compose can create msi/deb/dmg app but it packs jre so size is large.
10mb is still not bad ✌️
s
it's MPP but on JVM only, check the code. So right now it requires a jdk to run it. It JNI layer on top of skia (https://github.com/JetBrains/skiko/blob/master/skiko/src/jvmMain/cpp/linux/drawlayer.cc)