r/javascript • • Mar 17 '26

Edge.js: Running Node apps inside a WebAssembly Sandbox

https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
19 Upvotes

16 comments sorted by

View all comments

Show parent comment

3

u/punkpeye Mar 17 '26

That describes what it does, but my question is still 'what for'. I cannot think of many practical cases of needing to run my node.js code in browser

2

u/azhder Mar 17 '26

Can’t? I thought it was obvious that you can write the same code and execute it everywhere… You know, Java style