Elixir, WebAssembly, and Rust - The Ultimate Hybrid
summary
wasmCloud moves from a Rust-only host to an Elixir/OTP hybrid while retaining low-level Rust crates for OCI image pulls, JWT/ed25519 signing and WebAssembly execution via rustler; the team reports spending 90% of time on boilerplate before the rewrite. The OTP host embeds a Phoenix dashboard (Phoenix UI for free), uses supervisor hierarchies for resilient actor and provider management, and uncovers runtime gotchas like NIFs needing the dirty scheduler for OCI downloads and CPU-bound crypto, resulting in easier contributions and faster feature work.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:41Goals
- 3:27Increment Counter
- 4:09Demo
- 10:29Fearless Concurrency
- 12:05The Otp Rewrite
- 13:33New Architecture
- 19:29Scope Creep
- 23:30Example Applications
- 24:44Cloudflare Workers
related talks
05mClosing Remarks
52mEnable all your infrastructure’s power with Rust & Wasm
40mConfidential Computing Across Multiple Clouds and Platforms: Project Enarx
10mRust and WebAssembly threads on production: a field report
38mRust on the frontend
25mThink About Front-end Web Development with Rust
42mExotic Runtime Targets: Ruby and Wasm on Kubernetes and GitOps Delivery Pipelines
38mEnarx for Confidential Computing
