3 ms·
To expand, this functionality is of course not unique. There are numerous WASM runtimes out there, like wasmtime [1] or wasmer [2]. The interesting aspects of
by the_duke 6y ago
To expand, this functionality is of course not unique. There are numerous WASM runtimes out there, like wasmtime [1] or wasmer [2].
The interesting aspects of using Deno for this are:
a) v8 is bound to have a high quality wasm JIT and already has a sophisticated sandbox (although JS and the browser context probably bring in a lot of complexity that a pure WASM sandbox doesn't have to deal with)
b) easy interop with Javascript/Typescript code
c) Deno is experimenting with finer grained permission based sandboxing, so this fits well within the domain
[1] https://github.com/bytecodealliance/wasmtime https://github.com/bytecodealliance/wasmtime
[2] https://wasmer.io/ https://wasmer.io/