Hacker News new | ask | show | jobs
by singularity2001 1224 days ago
Hello world is 1.5 MB but compiled surprisingly fast: less than a second (with grade running, couldn't test konanc -target wasm yet?)

That's much better compilation time than kotlin/native:wasm

Wasm types are currently inaccessible in JS and you can't feed js objects into wasm, hopefully that will change...

1 comments

Hello world with production artifact and Binaryen optimization produces a 128K Wasm file for now for https://github.com/vmware-labs/wasm-languages/tree/main/kotl..., but the Kotlin/Wasm team has not tracked those data points recently so there are likely footprint regressions to fix. The size should be even smaller. They are going to have a look and also to enable Binaryen by default for production artifacts.
nice + thanks