News for hackers. Stuff that matters.
Re:QuickJS Running in WebAssembly by jansommer on Sunday November 20, 2022 @12:48PM (#33683253)
Not sure if I'd trust the wasm runtime. If someone breaks out of that it's game over. QuickJS in a unikernel in something like Firecracker VM would be the most secure approach and still provide good performance and startup time.

Another thing is resource consumption where you likely want to limit cpu- and mem-usage.

Re:QuickJS Running in WebAssembly by jitl on Sunday November 20, 2022 @01:07PM (#33683457)
I recommend Lambda as an easy way to create ephemeral Firecracker VMs and set overall limits on host + guest. For casual use, the memory and CPU limits available in the library should be enough.