Comment by ramblurr
6 hours ago
Always nice to see janet getting some attention.
shout out to one modern feature: sandbox
"Disable feature sets to prevent the interpreter from using certain system resources. Once a feature is disabled, there is no way to re-enable it."
It's a really cool feature but what is a scenario when your average programmer needs such sandboxing?
I sandbox all my utilities and programs in case some compromised third-party dependency decides to run lose. It's a way to limit the blast radius.
The TIC-80 game engine embeds Janet, and if i recall sandboxes the games created
you're embedding it as a scripting api and want to limit permissions to just what's needed