Remix.run Logo
jaen 2 days ago

Naah.

Solvable by turning the usual C library allocation pattern inside-out:

Only the C side allocates, Rust gets views of that memory.

Also well established - calling WebAssembly components requires exactly the same pattern, as the only way to malloc is to call into the WASM side.