tubeshowcase●1,674,981 videos♡ My collection 0
← Learn to Code

Learn to Code37:15

WebAssembly in Production: A Compiler in a Web Page • Brian Carroll • GOTO 2023

GOTO Conferences ↗

From the creator

This presentation was recorded at GOTO Copenhagen 2023. #GOTOcon #GOTOcph https://gotocph.com Brian Carroll - Maintainer of Roc Programming Language RESOURCES https://www.linkedin.com/in/briancarrolltech https://github.com/brian-carroll https://www.roc-lang.org ABSTRACT WebAssembly has been around for several years now, and we've all seen "hello world" demos. But what's it like to deploy a large complex WebAssembly project into production for real users? Brian talks us through how he built an online developer tool for a new programming language called Roc, putting a complex compiler into a web page. Find out how WebAssembly affected the codebase, why he decided to use WebAssembly to generate more WebAssembly, and how he glued it all together with JavaScript. [...] TIMECODES 00:00 Intro 00:48 WebAssembly (Wasm) basics 01:24 Roc Programming Language 02:21 Port to Wasm? 03:09 Demo: Online coding tools 06:20 How do they work? 10:53 Challenge: Download size 16:20 Challenge: Wasm limitations 18:45 Using Web APIs 19:53 Receiving input 21:27 JavaScript/Wasm interop 25:03 Displaying output 29:00 Evaluating the user's code 34:56 Summary 36:54 Outro Download slides and read the full abstract here: https://gotocph.com/2023/sessions/2848 RECOMMENDED BOOKS Kevin Hoffman • Programming WebAssembly with Rust • https://amzn.to/48msEBz Valerio De Sanctis • Building Web APIs with ASP.NET Core • https://amzn.to/42MWuOq Brian Sletten • WebAssembly: The Definitive Guide • https://amzn.to/3O

Published 2024-03-29 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code