# kotlin-wasm

Published articles for kotlin-wasm.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## The problems of Kotlin/Wasm I had when making a game

DevFeed: [The problems of Kotlin/Wasm I had when making a game](<https://devfeed.tech/articles/the-problems-of-kotlin-wasm-i-had-when-making-a-game-39315.md>)

Original publisher: [Read original article](<https://kt.academy/article/game-story-collection-processing-wasm>)

Published: 2025-01-20T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [wasm](<https://devfeed.tech/topics/wasm.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [CSV](<https://devfeed.tech/topics/csv.md>)

Tags: [challenges](<https://devfeed.tech/tags/challenges.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [csv](<https://devfeed.tech/tags/csv.md>), [game](<https://devfeed.tech/tags/game.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

An account of building a fruit-based collection-processing game with Compose Multiplatform and publishing it to Kotlin/Wasm. The author describes limitations in Kotlin reflection on common modules, an illegal cast exception occurring on Wasm, and an alternative approach involving generating challenges on the JVM and loading them from a CSV file.

### Source excerpt

A short story of the problems I needed to face when publishing a simple game made with Kotlin/Wasm.

## Kotlin/Wasm interop with Javascript - Gustavo Fão Valvassori

DevFeed: [Kotlin/Wasm interop with Javascript - Gustavo Fão Valvassori](<https://devfeed.tech/articles/kotlin-wasm-interop-with-javascript-gustavo-fao-valvassori-38285.md>)

Original publisher: [Read original article](<https://touchlab.co/kotlin-wasm-js-interop>)

Published: 2024-03-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [wasm](<https://devfeed.tech/topics/wasm.md>), [function](<https://devfeed.tech/topics/function.md>), [functions](<https://devfeed.tech/topics/functions.md>)

Tags: [functions](<https://devfeed.tech/tags/functions.md>), [interop](<https://devfeed.tech/tags/interop.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [web-assembly](<https://devfeed.tech/tags/web-assembly.md>)

### AI overview

This tutorial explains bidirectional interoperability between Kotlin/Wasm and JavaScript. It covers calling JavaScript from Kotlin/Wasm, exposing Kotlin/Wasm functions to JavaScript, export limitations, name collisions, and using JavaScript-defined types and browser APIs.

### Source excerpt

Kotlin/Wasm provides a bi-directional interoperability between Kotlin and Javascript, allowing you to call functions on either side. Let's dive into the topic and explore its limitations and workarounds.

## Getting Started with Web Assembly and Kotlin Multiplatform - Gustavo Fão Valvassori

DevFeed: [Getting Started with Web Assembly and Kotlin Multiplatform - Gustavo Fão Valvassori](<https://devfeed.tech/articles/getting-started-with-web-assembly-and-kotlin-multiplatform-gustavo-fao-valvassori-38284.md>)

Original publisher: [Read original article](<https://touchlab.co/kotlin-wasm-getting-started>)

Published: 2024-03-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin Multiplatform](<https://devfeed.tech/topics/kotlin-multiplatform.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [browser](<https://devfeed.tech/tags/browser.md>), [build](<https://devfeed.tech/tags/build.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [run](<https://devfeed.tech/tags/run.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [web-assembly](<https://devfeed.tech/tags/web-assembly.md>)

### AI overview

A tutorial on using Kotlin Multiplatform and WebAssembly to build interactive web applications that run in the browser. It covers project creation, configuration, dependencies, source directories, HTML loading, compilation, automatic browser reloading, and production output.

### Source excerpt

Web Assembly is a new technology that allows you to run code written in languages other than JavaScript in the browser. In this article, we will learn how to use Kotlin Multiplatform to write code that runs in the browser using Web Assembly.

## Kermit Now Supports WASM - Jigar Brahmbhatt

DevFeed: [Kermit Now Supports WASM - Jigar Brahmbhatt](<https://devfeed.tech/articles/kermit-now-supports-wasm-jigar-brahmbhatt-38345.md>)

Original publisher: [Read original article](<https://touchlab.co/wasm-in-kermit>)

Published: 2023-10-20T14:54:39Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [Kotlin Multiplatform](<https://devfeed.tech/topics/kotlin-multiplatform.md>), [kotlin-multiplatform-libraries](<https://devfeed.tech/topics/kotlin-multiplatform-libraries.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Library](<https://devfeed.tech/topics/library.md>), [browsers](<https://devfeed.tech/topics/browsers.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [kermit](<https://devfeed.tech/tags/kermit.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [mozilla](<https://devfeed.tech/tags/mozilla.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [web-assembly](<https://devfeed.tech/tags/web-assembly.md>)

### AI overview

This article describes Touchlab's experience adding WebAssembly support to Kermit, a Kotlin Multiplatform library. It covers adding the Wasm target, sharing code between Kotlin/JS and Kotlin/Wasm, and migrating code while addressing dependency compatibility and the absence of the console API in Wasm.

### Source excerpt

KMP is getting real WASM support, and Touchlab has been diving in. This post will discuss Touchlab's experience with WASM, WASM in Kermit, and show an example of using WASM in an existing codebase.