Hi!
I'm adding browser targets for my library but not familiar with it. How actual is
wasmWasi
target? Should I support it?
a
andylamax
12/02/2024, 11:11 AM
I do not think wasi is a browser target!!
d
Dzmitry
12/02/2024, 11:13 AM
As I said I'm not familiar about that)
f
Frank Bouwens
12/02/2024, 12:21 PM
https://github.com/Kotlin/kotlin-wasm-examples
WasmWasi is for non-browser targets;
It can run in NodeJS and Deno.
(Probably other non-browsers WASM Runtimes too)
WasmWasi will support importing functions from the runtime.
The example project shows how to get the realtime clock via an imported function.