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

Implementation for alternative sandboxes? #1218

Open
junukwon7 opened this issue Aug 24, 2022 · 1 comment
Open

Implementation for alternative sandboxes? #1218

junukwon7 opened this issue Aug 24, 2022 · 1 comment

Comments

@junukwon7
Copy link
Contributor

Since the ioi-isolate sandbox environment uses advanced features from the Linux kernel, the system only supports Linux for its host os (as far as I know).

So, making documentation for implementing other judge servers (such as judge0 or something else) would be helpful.

Or, providing an official docker image would be an alternative way to achieve the goal: multi-platform cms. Any changes from #802?

@wil93
Copy link
Member

wil93 commented Nov 27, 2022

In theory we have a "fake" sandbox that just executes programs without an actual sandbox:

class StupidSandbox(SandboxBase):

However:

  1. It's probably not easy to actually use it, since we always import the IsolateSandbox directly and use that.
  2. Even if there was a documented way of using it, it's a not a real sandbox so it could create issues even with local development (I'm not sure it can even prevent TLE / MLE).

I will look into this.

I also like the idea of integrating with Judge0, but I would need to investigate it more.

@wil93 wil93 added this to the P2 milestone Nov 27, 2022
@wil93 wil93 added the sandbox label Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants