News for hackers. Stuff that matters.
Re:Show HN: Elsa – A QuickJS wrapper written in Go by Aissen on Tuesday September 29, 2020 @08:43AM (#24627015)
@qu4k It's a shame that QuickJS isn't mentionned in the README since it does the heavy lifting.

Also, why is it secure ? Is there some kind of sandboxing of the runtime that I have missed ?

Re:Show HN: Elsa – A QuickJS wrapper written in Go by qu4k on Tuesday September 29, 2020 @08:45AM (#24627037)
README still needs some work and surely we will credit the awesome libraries that allowed us to build elsa

We plan on taking the deno route and requiring flags when running a js file to allow specific ops to be called. You can see a demo of this in our filesystem ops

Re:Show HN: Elsa – A QuickJS wrapper written in Go by Aissen on Tuesday September 29, 2020 @08:49AM (#24627075)
Ok, I understand it's secure because of the deno-style permission system, but not necessarily because it can be used to run untrusted code safely (sandboxed engine, like in chromium).
Re:Show HN: Elsa – A QuickJS wrapper written in Go by qu4k on Tuesday September 29, 2020 @08:53AM (#24627114)
Correct