3 ms·
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 compil
by singularity2001 4y 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...
- bouiaw 4y agoHello world with production artifact and Binaryen optimization produces a 128K Wasm file for now for https://github.com/vmware-labs/wasm-languages/tree/main/kotlin/browser-hello-world 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.
- singularity2001 4y agonice + thanks