Better HN
topnewbestaskshowjobs
Log inSign up

bouiaw

29 karma · joined Dec 4, 2012 (13y ago) · 10 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

6.

The potential of Kotlin/WASM(seb.deleuze.fr ↗)

60 points · by sdeleuze · 3y ago · 45 comments

comment 4y ago · link · parent

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

comment 9y ago · link · parent

As people were incredulous when I said last year WebAssembly will be shortly available in the 4 major browsers, and now it is ;-)

comment 9y ago · link · parent

If you can, wait WebAssembly support for Web/DOM API and support from languages like Kotlin/Swift. This will be a game changer.

comment 10y ago · link · parent

Quite surprised to see no mention of Kotlin here since both languages are very similar, main difference is Swift is LLVM based while Kotlin run on the JVM and has excellent Java interoperability.

See http://fr.slideshare.net/andrzej_sitek/swift-and-kotlin-pres... for more details ...