Running WASM in React Native apps
summary
Proof of concept wraps wasmer native module and hits ~1.8 million fib ops/sec on iOS versus ~23 million in Safari, slowed by iOS JIT limits and JS–WASM bridging; Callstack’s current approach compiles WASM ahead‑of‑time to C using wasm2c / wabt (polygen), embeds the result as a native library, and shows throughput overtaking Safari past Fibonacci n≈13; polygen works on iOS today, simplifies consuming Rust/Go libs, and plans threading, SIMD, GC and multiple runtimes.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 1:03Speaker backgrounds
- 2:11React Native overview
- 3:23Current state of development
- 4:12Extending React Native
- 4:45TurboModule limitations
- 12:21Introducing Polygen
- 28:32Future goals and conclusion








