Rib, a language that I built that could improve the ecosystem of WASM
summary
Rib claims a small language that provides type-safe interop with WebAssembly components, with a Rust-like syntax, a REPL that autocompletes functions and arguments, and wasmtime integration via a fork. It compiles through an inference pipeline with 15+ compilation phases to a stack‑based IR, and already powers Golem OSS’s API gateway where embedded Rib scripts expose HTTP routes to durable workers. Demos show autocomplete, descriptive errors and method-call syntax working end‑to‑end while noting missing standard library pieces and imperfect error messages.
AI-written summary · about
chapters (13)
- 0:00Rib and WebAssembly intro
- 3:18WebAssembly components
- 5:47Building WASM components
- 10:06Direct WASM limitations
- 10:49Rib and its benefits
- 13:43Type-safe Rib interactions
- 15:29Resources in stateful apps
- 17:14Rib in Golem for state
- 18:39Rib syntax and features
- 20:06Rib in Golem’s API gateway
- 21:54Rib compiler
- 22:59Rib limits and future
- 23:40Q&A
related talks
21mRichWasm: Bringing Safe, Fine-Grained, Shared-Memory Interoperability Down to WebAssembly
43mRichWasm: Bringing Safe, Fine-Grained, Shared Memory Interoperability to WebAssem...
47mRewrite the web with Rust and Web Assembly
50mWeb Assembly
32mBringing WebAssembly outside the web with WASI
24mReaching the Unix Philosophy's Logical Extreme with Webassembly
23mWebAssembly for the rest of us
37mWebAssembly with Rust
