Hacker News new | past | comments | ask | show | jobs | submit | sdeleuze's comments login

Kotlin now also targets WASI for server-side Wasm applications. Combined to Kotlin/Wasm browser support, that’s a powerful combo.

Notice the footprint is very small (3k for an hello world).


And Bytecoder which targets Wasm GC. https://github.com/mirkosertic/Bytecoder


J2CL sadly uses Java sources as the input, not JVM bytecode, which makes it hardly usable for a lot of use cases involving existing libraries.


Transcription of the talk given by Zalim Bashorov and Sébastien Deleuze at Wasm I/O conference to introduce Kotlin/Wasm and the new perspectives introduced by WasmGC for fullstack development.


I would love to see a Svelte-like frontend framework natively designed for Kotlin/Wasm, not necessarily another Kotlin to JavaScript binding that feels like a second class citizen.


This is indeed a very important point, and I care deeply about that.

For Compose for Web, there has been I think a lot of debate to decide if the Web rendering should be Canvas or DOM based. At least for now, it seems the official support is focusing on Canvas rendering for pixel-perfect rendering, and it already works with Koltin/Wasm, see https://twitter.com/bashorov/status/1625437131706363904. This choice is probably driven by Kotlin current mobile app main use case.

But via community-driven project like https://github.com/varabyte/kobweb or https://github.com/mpetuska/kmdc, Compose for Web can also be a good Web citizen and perform DOM based rendering.


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


Good one ^^. Sadly not from my family even if he is one of my prefered philosopher.


maybe redirect to webdeleuze.com :)


This new blog post explores the huge potential of Kotlin/Wasm and how WasmGC, WASI, WebAssembly Component Model and warg repositories could change how we develop applications.


Yeah I miss interfaces/traits as well, see https://github.com/ziglang/zig/issues/1268 related open issue.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: