Hacker News new | ask | show | jobs
by yufw 1992 days ago
It certainly has less feature than repl.it, for example, it does not have interactive repl. It runs in the cloud, in docker containers.
2 comments

Do you have any abuse prevention mechanisms implemented? For instance, preventing users from running infinite loops, consuming too much resources and so on?

I built a similar service as a personal project and I am interested how to properly handle situations like that.

Yes, currently the execution time is limited to 10s and 10s compilation time for compiled languages. Memory limit is 256M. It runs user code in docker container, I leverage docker for restricting resources, more info at https://docs.docker.com/config/containers/resource_constrain...
repl.it requires registration.