« * K @davidpei.bsky.social

David Peipei @davidpei.bsky.social

2026-06-03 13:56 UTC

Really wish wasm-bindgen gen boilerplate code to write a struct from js to read into rust Wasm, without allocating an object or the need to free a pointer. * Give some pointer to temp memory * wasm-bindgen write the js objects (Pod fields) to pointer * Rust has access to the struct via the pointer

0 likes, 0 reposts, 0 replies

3 Next post4 More from @davidpei.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup