Better HN
topnewbestaskshowjobs
Log inSign up

sdeleuze

39 karma · joined Dec 14, 2011 (14y ago) · 20 submissions

Submissions

1.

The Terraforming of the WebAssembly Landscape(seb.deleuze.fr ↗)

2 points · by sdeleuze · 2y ago · discuss

comment 3y ago · link · parent

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).

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

6.

Kotlin/Wasm(seb.deleuze.fr ↗)

8 points · by sdeleuze · 3y ago · 1 comment

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.

12.

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 4y ago · link · parent

Thanks.

I agree with the limitations you mentioned about .Net, but who knows maybe they will switch to a more optimized AOT compilation at some point.

I know TeaVM, but my bet is more on Google side for Java support, the task is too huge for a single person OSS project.

Hopefully JetBrains will be more vocal about Kotlin/Wasm later this year and next year, when it will be more usable with GC support shipped in Chrome stable.

comment 4y ago · link · parent

Not ideal I agree, main reason is that I don’t have the bandwith to publish on a regular basis in a blog, so I have never created one.

16.

WebAssembly impact on the future of programming languages(twitter.com ↗)

6 points · by sdeleuze · 4y ago · 6 comments

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 ...

20.

RESThub 2.0, the Spring + Backbone.js stack, just released (pullrequest.org ↗)

4 points · by sdeleuze · 13y ago · 1 comment