But there are drawbacks that you can see on Kotlin/Native or GraalVM native image : compilation is slow, generated artifact are platform specific, welcome to the new world !!!
That's where WebAssembly has a huge potential. IMO it is what the JVM has always wanted to be. It has the required characteristic to be a universal target format that can be used to deploy your application on the Cloud, on mobile, IoT, desktop, web, etc. Compilation is fast. You can run isolated WebAssembly applications with much less ressources and complexity that what we do currently where we ship one OS per application.
The question is: what language will matter in this platform. Rust is great for high performance library but the language has far too much noise for using it for regular entreprise software development. AssemblyScript is interesting but I think WebAssembly is an opportunity to avoid building on top of JavaScript.
Swift, Go (which will get generics and better error management shortly) and Kotlin are the kind of language that could be a good fit with WebAssembly if they manage to translate efficiently to WbAssembly code (which is not yet the case currently). Kotlin is born from the JVM so it is not a perfect fit for WebAssembly today, but with WebAssembly GC coming, as well as other features and with the open mind of Kotlin team that adapts this language to native in Kotlin/Native, I think there is a way.
I know Jetbrains/Kotlin team has not always a deep frontend culture (most dislike JavaScript), but think about IDEA on the long term. What is the plan to compete with VS Code? Desktop JVM is a dead platform, generating platform specific artifacts is just a pain to maintain and to use. It is maybe reassuring to continue joking about the amount of memory/CPU consumed by Electron/Slack/whatever, but the truth is that WebAssembly makes it possible to build an IDE with the power of IDEA that run in the browser (see what the AutoCAD team has done
https://twitter.com/autocad/status/993963826914648064 and the post MVP roadmap
https://hacks.mozilla.org/2018/10/webassemblys-post-mvp-future/) and that could be easily packaged as desktop application. I know we are not here yet, but to me that makes no doubts that the future of IDE and complex applications like that is using WebAssembly to build and deploy them.