Skip to content

crowforkotlin/wasm-kotlin-exploration

Repository files navigation

✅ wasmtime (Only the minimum supported Kotlin version is 2.3.0-RC)

wasmline-kotlin multiplatform based on > wasmtime

❌ wasmer

Seems unusable. Running it on Windows throws an error: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace. This option is currently discarded.

❌ wazero

wazero does not support some new features and, like most other mainstream WASM runners, suffers from the same problem: read 0-th type: invalid byte: 0x5e != 0x60 (gc not support)

❌ wasmedge

The compilation process is overly complex. Android support seems to have a demo, but after trying multi-platform compilation, I encountered problems on Windows that I feel are quite tricky to resolve.

❌ wasm-micro-runtime

The description claims multi-platform support, but there is no Java sample. Might it require kn? Kotlin Wasm adopts new official WebAssembly proposals, such as WasmGC. Since most mainstream libraries do not support these yet, errors like 'invalid section id' or 'invalid byte: 0x5e != 0x60' are thrown when loading the Wasm file.

❌ wasm3

Has not been updated for a year, and the issues list suggests numerous problems. Tentatively rejected.

About

wasmer-kotlin Exploration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages