wasm-bindgen

1 article
sort: new top best
clear filter
0 5/10

A practical guide documenting patterns and conventions for writing Rust-based WebAssembly with improved ergonomics and safety, including type naming conventions (Wasm* prefixes for exports, Js* for imports), memory management strategies (using Rc/Arc over raw references), and best practices for managing the boundary between Rust's ownership model and JavaScript's garbage collection.

wasm-bindgen wasm_refgen js_sys Rust JavaScript
notes.brooklynzelenka.com · vinhnx · 7 days ago · details · hn