3 ms·
UI in the browser isn't the right frame to think about webassembly. The right frame is wherever you can benefit from running a piece of potentially untrusted c
by sriku 6y ago
UI in the browser isn't the right frame to think about webassembly.
The right frame is wherever you can benefit from running a piece of potentially untrusted code within a sandbox. This is important for platform vendors who have to run cuatomer code that they can't trust. It is also important to run what would otherwise be unsafe code in the browser (ex: I use it for audio encoding/decoding and processing). It can serve as a "plugin" mechanism for host applications that need high performance for the plugins along with safety (ex: image proc, NN models). Environments where you need extreme granular control over what's permitted for the module (hence WASI and CloudABI).