WasmAssembly podcast

Scala.js to Wasm—Exploring the Wasm backend for Scala.js with Sébastien Doeraene

5.1.2026
0:00
1:06:11
15 Sekunden vorwärts
15 Sekunden vorwärts

The JVM-to-Web journey continues! In this episode, Thomas Steiner welcomes the original author of Scala.js, Sébastien Doeraene, to discuss the major, experimental leap to WebAssembly. You'll learn why the team decided to target Wasm now and how it complements the existing JavaScript emission. This episode offers a technical deep-dive into how Scala's powerful, nominal type system maps its objects and classes onto Wasm GC, and examines the critical details of interoperability, including what happens when a Scala object crosses the boundary to a JavaScript function. Finally, Sébastien covers the current status of the Wasm ecosystem for Scala.js, and the key limitations you need to know before you flip the `withExperimentalUseWebAssembly(true)` switch. Tune in to discover how a mature typed language is laying a fast, new foundation on the web!

 

Chapters:

0:00 -  Commonalities between composing music and composing compilers

1:38 - Scala, Scala.js, Scala Native, and the Scala Center

11:01 - The "elevator pitch" for Scala.js

14:59 - Is Scala.js competing with TypeScript?

20:31 - What motivated the decision to target Wasm?

26:40 - ] How Scala.js utilizes Wasm GC

31:24 - What's actually crossing the boundary between JS and Scala.js?

37:37 - BigInt support in Scala.js

38:38 - The status of the library ecosystem for the Wasm target

41:40 - Sébastien's hobby project ported to Scala.js

44:02 -  Is the Wasm backend purely a Scala.js thing for browsers?

52:38 - What developers should be aware of before flipping that `withExperimentalUseWebAssembly(true)` switch

58:28 -  What Wasm proposals are you waiting for to unlock new features in Scala.js?

59:57 - Wasm, but not 

 


Resources:

 



Watch more WasmAssembly → https://goo.gle/WasmAssembly 

Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs



#WebAssembly #Wasm #ChromeForDevelopers #Chrome

 

Speaker: Thomas Steiner

Products Mentioned: Web Assembly (Wasm),  Chrome,  WebAssembly for Chrome

 

Weitere Episoden von „WasmAssembly“