2 ms·
> What will the interop with Rust and JavaScript look like? How will pointers be managed? First, a disclaimer: all of this is extremely early days, and subject
by steveklabnik 9y ago
> What will the interop with Rust and JavaScript look like? How will pointers be managed?
First, a disclaimer: all of this is extremely early days, and subject to change.
There's two questions hidden here: "what does the workflow look like?" and "how does this work technically?"
Currently, "what does the workflow look like" is this: https://github.com/ashleygwilliams/wasm-pack#%EF%B8%8F--how-to-use https://github.com/ashleygwilliams/wasm-pack#%EF%B8%8F--how-...
"how does this work technically" is this: https://github.com/alexcrichton/wasm-bindgen https://github.com/alexcrichton/wasm-bindgen
The former provides a nice workflow that's fundamentally built on the latter.