No video

Introducing Kotlin/Wasm by Zalim Bashorov & Sébastien Deleuze @ Wasm I/O 2023

Wasm I/O 2023 / 23-24 March, Barcelona
Slides: seb.deleuze.fr/introducing-ko...
Kotlin is a modern, cross-platform, statically typed, general-purpose programming language developed by JetBrains. It targets JVM, including Android; JS; native platforms via LLVM, including iOS; and lately WebAssembly.
Kotlin/Wasm is the new target and toolchain in the Kotlin family. It has a few special properties:
- It compiles to Wasm directly without any additional layers, to compile as fast as possible, including incrementally in the future.
- It uses experimental/fresh proposals like GC, Typed Function References, Exception Handling, and Stringref.
In this talk, we will have a deep look inside the internal details of the Kotlin/Wasm technology stack, how the Kotlin code is compiled into WebAssembly and look in-depth at the generated code and its structure. We will discuss how the Kotlin/Wasm compiler handles the language features of Kotlin, such as classes, virtual and interface calls, coroutines, and others using fresh and experimental proposals like GC, Exception Handling, Typed Function References.
We will also explore various use cases of Kotlin/Wasm: in the browser but also for server-side workloads with the WASI support for Kotlin/Wasm incubated on github.com/kowasm/kowasm, as well as the interoperability with the WebAssembly Component Model.
=======================================
Video Chapters
Intro 0:00
Kotlin 0:42
Kotlin/Wasm 2:42
The new Kotlin/Wasn compiler 4:11
Kotlin/Wasm deep dive 7:27
Classes & Interfaces 7:33
Strings & Stringref 11:44
Kotlin/Wasm applications today and tomorrow 13:48
Compose Multiplatform 14:09
Compose for Web with Kotlin/Wasm in Action 14:34
Debugging Kotlin/Wasm in browser 14:53
Introducing KoWasm 15:08
KoWasm Demo 18:32
WIT & Kotlin 21:53
Compose HTML Demo 23:09
IDEA: Fullstack rendering with Compose HTML and Kotlin/Wasm 24:10
What’s next? 25:35
Thanks & Question 27:44

Пікірлер: 6

  • @bashorov
    @bashorov Жыл бұрын

    Intro 0:00 Kotlin 0:42 Kotlin/Wasm 2:42 The new Kotlin/Wasn compiler 4:11 Kotlin/Wasm deep dive 7:27 Classes & Interfaces 7:33 Strings & Stringref 11:44 Kotlin/Wasm applications today and tomorrow 13:48 Compose Multiplatform 14:09 Compose for Web with Kotlin/Wasm in Action 14:34 Debugging Kotlin/Wasm in browser 14:53 Introducing KoWasm 15:08 KoWasm Demo 18:32 WIT & Kotlin 21:53 Compose HTML Demo 23:09 IDEA: Fullstack rendering with Compose HTML and Kotlin/Wasm 24:10 What’s next? 25:35 Thanks & Question 27:44

  • @jondo7680
    @jondo7680 Жыл бұрын

    Can't wait to run my first Kotlin program with compose on wasi and in the browser.

  • @andriimaliuta
    @andriimaliuta Жыл бұрын

    Have been waiting for this talk. Thank you!

  • @dumdumdumdum8804
    @dumdumdumdum8804 Жыл бұрын

    excellent, this work will pave the way for other JVM languages to pick up wasm. cool stuff.

  • @y9san9

    @y9san9

    Жыл бұрын

    Not really, Kotlin for a few years already can be compiled to iOS, JS, etc.

  • @noebenjaminreynosoaguirre1565
    @noebenjaminreynosoaguirre1565 Жыл бұрын

    Kottttliin