Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandboxed Mode #60

Open
3 tasks
grassator opened this issue Nov 15, 2021 · 0 comments
Open
3 tasks

Sandboxed Mode #60

grassator opened this issue Nov 15, 2021 · 0 comments
Labels
epic idea Weird, crazy ideas

Comments

@grassator
Copy link
Owner

Mass compiler uses JIT and theoretically allows access to any system api.

This is great for certain use cases but can limit some usages, for example as an embedded language or a config language.

Luckily since the majority of functionality is defined in ist land it should be possible to achieve sandboxing by:

  • limiting exports from the compiler (no intrinsic)
  • Adding a new "OS" variant
  • Disallowing external library imports
@grassator grassator added epic idea Weird, crazy ideas labels Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic idea Weird, crazy ideas
Projects
None yet
Development

No branches or pull requests

1 participant