News for hackers. Stuff that matters.
Re:Execute JavaScript in a WebAssembly QuickJS Sandbox by leohart on Sunday July 07, 2024 @10:34PM (#40902145)
This is awesome. With this, I would be able to run JS code that my user provides. I have been looking for a way to bundle my user Typescript code using a bundler in a sandbox environment. Any recommendation on ways to run a bundler (webpack/...) in QuickJS?
Re:Execute JavaScript in a WebAssembly QuickJS Sandbox by idle_zealot on Monday July 08, 2024 @02:26AM (#40903030)
I don't know about using QJS, but if you want to run a bundler in the browser that sounds like the sort of thing that WebContainers[1] were built for.

[1]: https://webcontainers.io/