3 ms·
No, that would be worse actually. Imagine a circumstance where you need to use a library to fetch some network data that you can't do in a browser. Now you have
by devwastaken 5y ago
No, that would be worse actually. Imagine a circumstance where you need to use a library to fetch some network data that you can't do in a browser. Now you have to import the whole data stream via text serialize/deseralize into the browsers sandbox.
Wasm is also quite slower and bulkier because you'd have to compile your entire runtime into wasm, and then have it in the browser.