Hi Everyone. I'm just learning about WASM in Kotlin and I wanted to know if it's possible to use WASM in Kotlin. as in can I use a library written in i.e GO in Kotlin?
I mostly see using Kotlin to compile to WASM but I couldn't find a lot about WASM to Kotlin
m
Michael Paus
04/28/2025, 12:14 PM
Yes, you can. How to achieve that depends on the platform on which you want to use your GO/Wasm library.
• On the JVM platform you could use Chicory, Chasm or GraalWasm.
• On all other platforms (except JS/Wasm) you could use Chasm.
• On JS/Wasm you can integrate Wasm via JS interop.