Це відео не доступне.
Перепрошуємо.
WebAssembly in Production: A Compiler in a Web Page • Brian Carroll • GOTO 2023
Вставка
- Опубліковано 15 сер 2024
- This presentation was recorded at GOTO Copenhagen 2023. #GOTOcon #GOTOcph
gotocph.com
Brian Carroll - Maintainer of Roc Programming Language
RESOURCES
/ briancarrolltech
github.com/bri...
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:
gotocph.com/20...
RECOMMENDED BOOKS
Kevin Hoffman • Programming WebAssembly with Rust • amzn.to/48msEBz
Valerio De Sanctis • Building Web APIs with ASP.NET Core • amzn.to/42MWuOq
Brian Sletten • WebAssembly: The Definitive Guide • amzn.to/3OQdHRf
Sendil Kumar Nellaiyapen • Practical WebAssembly • amzn.to/4bK3j7s
/ gotocon
/ goto-
/ goto_con
/ gotoconferences
#WebAssembly #Wasm #Roc #Roclang #JavaScript #WASI #WebAssemblySystemInterface #FunctionalProgramming #WasmArchitecture #REPL #Rustlang
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at gotopia.tech
Sign up for updates and specials at gotopia.tech/n...
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
www.youtube.co...
I like that Roc gets recognition it deserves
Gleam also has a wasm compiler embedded in its tutorial. Its also written in rust but the code you write gets compiled to js instead of wasm
Great presentation!!!