# How to get started with WebAssembly and Kotlin?

**URL:** <https://discuss.kotlinlang.org/t/how-to-get-started-with-webassembly-and-kotlin/6181>\
**Category:** Native\
**Created:** [January 10, 2018, 10:05pm UTC](https://discuss.kotlinlang.org/t/how-to-get-started-with-webassembly-and-kotlin/6181 "2018-01-10T22:05:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PCDelco](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@PCDelco](https://discuss.kotlinlang.org/u/PCDelco)\
**Post date:** [January 10, 2018, 10:05pm UTC](https://discuss.kotlinlang.org/t/how-to-get-started-with-webassembly-and-kotlin/6181/1 "2018-01-10T22:05:03Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![nutjob2](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nutjob2](https://discuss.kotlinlang.org/u/nutjob2)\
**Post date:** [January 10, 2018, 10:35pm UTC](https://discuss.kotlinlang.org/t/how-to-get-started-with-webassembly-and-kotlin/6181/2 "2018-01-10T22:35:58Z")

</div>

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