Rib, a language that I built that could improve the ecosystem of WASM (v1)
summary
Rib is a type-safe scripting language with Rust-like syntax that integrates into wasmtime (currently via a wasmtime fork) to provide REPL-driven, autocompleting calls into WebAssembly components, showing descriptive compiler errors and argument autofill. It already powers the Golem OSS API gateway, running durable worker instances and persisting state, and compiles via a configurable pipeline with 15+ compilation phases that use fixed-point type inference. Works end-to-end for single-component contexts today and aims to expand multi-component and interface disambiguation.
AI-written summary · about
chapters (13)
- 0:00Rib and WASM interaction
- 1:50WebAssembly introspection
- 3:18WebAssembly components
- 5:23Building WASM components
- 8:21Direct WASM limitations
- 10:49Rib for type-safe scripting
- 13:22Rib autocomplete and type safety
- 15:29Rib resources and complex types
- 16:52Rib with Golem OSS
- 18:39Golem Ripple bootstrap
- 19:22Rib syntax overview
- 20:28Rib in API gateway
- 21:32Rib compilation phases
related talks
21mRichWasm: Bringing Safe, Fine-Grained, Shared-Memory Interoperability Down to WebAssembly
43mRichWasm: Bringing Safe, Fine-Grained, Shared Memory Interoperability to WebAssem...
20mGolem and the WASM Component Model
50mWeb Assembly
47mRewrite the web with Rust and Web Assembly
32mBringing WebAssembly outside the web with WASI
24mReaching the Unix Philosophy's Logical Extreme with Webassembly
49mWasmer Things: An Upside-Down Guide to WebAssembly
