News for hackers. Stuff that matters.
Re:Edge.js: Run Node apps inside a WebAssembly sandbox by pscanf on Tuesday March 17, 2026 @05:21PM (#47418493)
Very cool project!

Question regarding the pluggable js engine: I have an electron app where I'm currently using QuickJS to run LLM-generated code. Would edge.js be able (theoretically) to use electron's v8 to get a "sanboxed within electron" execution environment?

Re:Edge.js: Run Node apps inside a WebAssembly sandbox by syrusakbary on Tuesday March 17, 2026 @06:02PM (#47418956)
Yes, this should be fully possible.

We actually believe Edge.js will a great use case for LLM-generated code.

Re:Edge.js: Run Node apps inside a WebAssembly sandbox by cyanydeez on Tuesday March 17, 2026 @05:35PM (#47418642)
naively, based on their install.sh script, you'd pick the correct edge.js executable and shell out to that. I'm sure there's some more integral means, but if you wanted a quick test, that should be easily setup.