4 ms·
> But conceptually, it seems like it would be more portable to generate a single WebAssembly binary instead of a bunch of DLL's. This is true, but N-API will g
by eyelidlessness 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.
This is true, but N-API will generally perform better (sometimes significantly, usually in exactly the same CPU-bound scenarios where WASM will perform better than V8). And NAPI-RS is quite good at paving the happy path for multi-target packages.