Kotlin/JS, Today and Tomorrow
summary
Kotlin/JS today wires Kotlin into the JS ecosystem via Gradle and NPM, supports coroutines, kotlinx.serialization and Ktor client for type‑safe networking, and outputs dramatically smaller bundles (hello world ~1.7 kilobytes). The new IR compiler is experimental with incremental compilation, source maps and ES6 module support planned; Dukat auto-converts TypeScript defs to externals. JetBrains uses it in Space and a multiplayer demo built in 48 hours won a hackathon, and WebAssembly prototyping is underway.
AI-written summary · about
chapters (23)
- 0:00Intro
- 1:36Kotlin embraces the JS world
- 2:55All Gradle everything
- 3:51Kotlin/JS embraces Multiplatform
- 4:36Consuming the JS ecosystem
- 6:52Tooling embraces Kotlin/JS
- 8:10Source maps
- 8:54Testing - Tests in IDE
- 10:23Using fan-favorite Kotlin libraries
- 10:50Libraries: kx.coroutines
- 12:33Libraries: Ktor Clients • Unified interfaces for HTTP & Websocket • Multiplatform support
- 14:33The dream team
- 15:46The power of sharing models + serialization
- 18:43IR compiler backend The clear path forward for Kotlin/JS
- 19:39IR compiler backend in numbers
- 21:14Typesafe HTML: kotlinx-html-js
- 22:25Frontend dev with React & Kotlin/JS
- 26:19Code Quiz
- 28:31Success!
- 29:16JetBrains Space We build products with Multiplatform!
- 30:43Automatic declaration generation
- 32:51Node.js API
- 37:04WebAssembly
related talks
43mThe State of Kotlin JS
22mKotlin/JS in 1.4 and Beyond
34mIntegrating Kotlin/JS in a Kotlin Multiplatform library
35mTypeScript vs KotlinJS
01h 01mKotlin as a Language for Frontend Development
33mUsing Kotlin for JS Client and JVM Server
45mFrontend Kotlin from the Trenches
52mKotlin for Java Programmers
