~/talk

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

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/type-safe-bindings-for-nodejs-with-rust-and-webassembly
Talkat Node Congress 2023 · 2023-04-14..04-17· [rust, webassembly]

Shows how to build TypeScript bindings for Node.js using Rust compiled to WebAssembly, specifically using wasm-bindgen to define and import Rust functions and tspy to integrate those functions into TypeScript apps. Covers practical issues like converting strings between Rust and JavaScript and limits of exposing Rust data types to JS, and recommends using TSFI for generating type-safe bindings, demonstrated with a TypeScript full-text search engine using WebAssembly.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.