2 ms·
> But conceptually, it seems like it would be more portable to generate a single WebAssembly binary instead of a bunch of DLL's. If the database IO happens in
by pimeys 3y ago
> But conceptually, it seems like it would be more portable to generate a single WebAssembly binary instead of a bunch of DLL's.
If the database IO happens in Rust, the option with WebAssembly is fetch, meaning HTTP and the Atlas-only Data API. If the IO is done in JS, you pay some extra CPU time transferring UTF-16 strings over the border and copy them as UTF-8 in Rust.