Skip to main content
← Speaking

Type-safe bindings for Node.js with Rust and WebAssembly

Talk
· WeAreDevelopers World Congress · Berlin, Germany
rust typescript webassembly

Writing performance-critical Node.js modules usually means C++ addons, platform-specific builds, and node-gyp headaches. I presented an alternative: Rust compiled to WebAssembly, producing a single portable artifact with type-safe TypeScript bindings via tsify.

I also covered when WebAssembly is the wrong choice — and when Neon or Napi.rs offer better performance or a simpler integration path. The talk closed with a live example: tsify powering the Wasm layer in Lyra, a full-text search engine written in TypeScript.