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

play.rust-lang.org #4064

Closed
ghost opened this Issue Nov 29, 2012 · 6 comments

Comments

Projects
None yet
4 participants
@ghost

ghost commented Nov 29, 2012

Please enable compilation and running of trivial Rust programs online at play.rust-lang.org, similar to http://play.golang.org.

Alternatively, support Rust at http://ideone.com.

@bstrie

This comment has been minimized.

Show comment
Hide comment
@bstrie

bstrie Nov 29, 2012

Contributor

The ideal way to do this would probably be Issue #2235, though that's rather involved.

I poked around on ideone.com for a bit and didn't see any mention of how to add new languages.

I've looked into running an ideone-ish server for Rust in the past, possibly by making use of the basic features of Geordi (http://www.eelis.net/geordi/ and https://github.com/Eelis/geordi/).

Contributor

bstrie commented Nov 29, 2012

The ideal way to do this would probably be Issue #2235, though that's rather involved.

I poked around on ideone.com for a bit and didn't see any mention of how to add new languages.

I've looked into running an ideone-ish server for Rust in the past, possibly by making use of the basic features of Geordi (http://www.eelis.net/geordi/ and https://github.com/Eelis/geordi/).

@amuxtux

This comment has been minimized.

Show comment
Hide comment
@amuxtux

amuxtux Nov 29, 2012

here is a experimental web based playground based on node.js. However I dont know how to apply file system + network access limitation. If these restrictions can be added I may be able to deploy on heroku or some other node hosting service.

https://github.com/amuxtux/RustNode

amuxtux commented Nov 29, 2012

here is a experimental web based playground based on node.js. However I dont know how to apply file system + network access limitation. If these restrictions can be added I may be able to deploy on heroku or some other node hosting service.

https://github.com/amuxtux/RustNode

@bstrie

This comment has been minimized.

Show comment
Hide comment
@bstrie

bstrie Nov 29, 2012

Contributor

@amuxtux Geordi does syscall limitation, if you'd like a basic reference:

https://github.com/Eelis/geordi/blob/master/src/EvalCxx.hsc#L312

Contributor

bstrie commented Nov 29, 2012

@amuxtux Geordi does syscall limitation, if you'd like a basic reference:

https://github.com/Eelis/geordi/blob/master/src/EvalCxx.hsc#L312

@graydon

This comment has been minimized.

Show comment
Hide comment
@graydon

graydon May 15, 2013

Contributor

Note that rusti on IRC is a reasonably well-contained evaluator-bot presently, and might be adaptable to this purpose.

Contributor

graydon commented May 15, 2013

Note that rusti on IRC is a reasonably well-contained evaluator-bot presently, and might be adaptable to this purpose.

@thestinger

This comment has been minimized.

Show comment
Hide comment
@thestinger

thestinger May 15, 2013

Contributor

rusti (the bot) can definitely be adapted to a web-based evaluator. It's essentially just a Linux root used as a container (isolated process/network namespace). It drops capabilities and restricts device/resource usage with the container's cgroup and uses a whitelist (admittedly an unnecessarily long one atm) of syscalls.

Contributor

thestinger commented May 15, 2013

rusti (the bot) can definitely be adapted to a web-based evaluator. It's essentially just a Linux root used as a container (isolated process/network namespace). It drops capabilities and restricts device/resource usage with the container's cgroup and uses a whitelist (admittedly an unnecessarily long one atm) of syscalls.

@thestinger

This comment has been minimized.

Show comment
Hide comment
@thestinger

thestinger Jun 22, 2013

Contributor

I've implemented this, it's just a matter of making the frontend web interface and deploying it on rust-lang.org in some form.

Closing in favour of #6916.

Contributor

thestinger commented Jun 22, 2013

I've implemented this, it's just a matter of making the frontend web interface and deploying it on rust-lang.org in some form.

Closing in favour of #6916.

@thestinger thestinger closed this Jun 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment