News for hackers. Stuff that matters.
Re:Show HN: Now my pet programming language can run in the b... by javajosh on Saturday February 10, 2024 @02:07PM (#39329224)
I agree, but I imagine there either is or will be a js-in-wasm project that can suitably truncate the environment. Not that js is actually not good at this sort of application (triple equals get old fast), but people already know it.

And of course there's lua.

Re:Show HN: Now my pet programming language can run in the b... by zamadatix on Saturday February 10, 2024 @07:00PM (#39331456)
Figma has actually gone along this line of thinking for plugins since ~2019 https://www.figma.com/blog/an-update-on-plugin-security/ albeit their choice was from securing the existing plugin model rather than providing a minimal new scripting system.