Effortless Concurrency with Grain & Lunatic
summary
Demonstrates Grain compiled to WebAssembly running on Lunatic to build a working telnet chat server that accepts TCP, spawns per-connection processes, transfers streams between processes, and uses typed mailboxes for messages. Shows specific bindings (lunatic SDK), marshalled closures, and that the demo runs as chat.wasm on port 4444 with two clients exchanging messages. Notes no WebAssembly threads used, supervisor missing, and performance is practical though not Rust‑level.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:23Grain Code
- 5:35Hello, world Lunatic Edition
- 10:07A Full Application
- 18:51Architecture Overview
related talks
09mLightning Talk: Grain: WebAssembly Development Made
05mClosing Remarks
13mLightning Talk: Wildly Distributed Programming: Wasm and the Future of Distribute...
14mLightning Talk: Composable, Polyglot Concurrency with WASIp3
31mFrom Napkin to the Cloud: A WebAssembly Journey
08mLightning Talk: Wasmcloud + Bevy ECS: Solution to Woe of Indie Game Develope...
01h 13mRust-Powered Fullstack GraphQL: From Actix-Web & Juniper Server to WASM Yew Client
46mA State Of WebAssembly - The Browser is now a real VM
