How big is kotlin-native wasm runtime? IIUC refere...
# kotlin-native
s
How big is kotlin-native wasm runtime? IIUC reference count should be in runtime, right?
o
runtime is moderately sized, and we try to compile in only needed parts, so for example for simple
Copy code
jetbrains@unit-922:~/kotlin/kotlin-native
>cat hello.kt
fun main(args: Array<String>) {
  println("Hello ${args[0]}")
}
jetbrains@unit-922:~/kotlin/kotlin-native
>./dist/bin/konanc -opt hello.kt -o hello
KtFile: hello.kt
jetbrains@unit-922:~/kotlin/kotlin-native
>./hello.kexe world
Hello world
jetbrains@unit-922:~/kotlin/kotlin-native
>ls -lh hello.kexe 
-rwxr-xr-x  1 jetbrains  staff   151K Nov 21 12:24 hello.kexe
s
Great! Thank you!