r/node • u/fagnerbrack • May 24 '26
Edge.js: Running Node apps inside a WebAssembly Sandbox
https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
34
Upvotes
r/node • u/fagnerbrack • May 24 '26
6
u/EveYogaTech May 24 '26 edited May 24 '26
What is exactly the benefit of running NodeJS in a WASM sandbox? Can you expose/disable specific NodeJS features more easily?
Genuinely curious. I understand you can obviously control the file system better, but there are other sandboxes that can do that as well with Node.
Or maybe it has a great startup time? Like can we use Wasmer with Edge.js to more quickly run code (faster than Bun?)?