JS to Rust WebAssembly the hard way ... and the easy way

Опубликовано: 10 Октябрь 2024
на канале: Context Free
5,663
212

Code: https://github.com/contextfreecode/wa...

Taca web demo: https://contextfreeinfo.github.io/tac...

Demo app source: https://github.com/contextfreeinfo/ta...

Node missing "file:" fetch: https://github.com/nodejs/undici/blob...

0:00 Taca demo
0:36 HTML escaping demo
2:34 Going the hard way
3:50 Rust details
6:30 JS details
8:41 Wrapping raw escapeHtml
10:44 Vanishing memory buffer
11:57 Support JS from wasm_bindgen/wasm-pack
15:01 Considering wit-bindgen and WebAssembly Interface Types