Kotlin/Wasm
As we
mentioned earlier, we are working on a new Kotlin to WebAssembly compiler backend.
By the end of this year we are planning to:
1. Build a compiler prototype using
Wasm GC proposal. The first version will lack some language and stdlib features like exceptions, coroutines, browser API, and convenient JS interop. Also, the prototype will have very basic CLI and build system integration.
2. Measure startup, throughput, and code size performance characteristics. Iterate on performance by improving the compiler and giving feedback to the authors of the Wasm GC proposal and the maintainers of the WebAssembly virtual machine.
After that, we plan to start implementing support for the remaining Kotlin features.
Note: All work on Wasm support in
Kotlin/Native (through LLVM) has been suspended.
Stay tuned
– join us in the
#webassembly channel!