How to get started with WebAssembly and Kotlin?

I see some release notes mentioning that there is an experimental support for web assembly. However, I can’t find information on how to compile kotlin code to web assembly standard. All I am aiming for is to have a binary module and I dont care yet about missing bits on DOM and HTML stuff

So how do I get started with Kotlin to webassembly?

You have to use the Kotlin Native compiler. See the html5Canvas sample.

1 Like