Yeah, the entire premise of this kind of company is asking strangers to give you arbitrary code and then running it. I imagine there ares some important design decisions there that are not trivial to replicate. At it seems the author made _no_ attempt to replicate them, as he said anyone could knock his server over easily w/ a fork bomb.
I thought these type of interpreters ran in the user's browser. Cross-compile the interpreter to JS or webasm, stream it to the user after they click on which language to use. Built-in libraries could be streamed on-demand the same way or they can be bundled with the interpreter. It would solve the scalability and security problem.
Yeah, the entire premise of this kind of company is asking strangers to give you arbitrary code and then running it. I imagine there ares some important design decisions there that are not trivial to replicate. At it seems the author made _no_ attempt to replicate them, as he said anyone could knock his server over easily w/ a fork bomb.
I thought these type of interpreters ran in the user's browser. Cross-compile the interpreter to JS or webasm, stream it to the user after they click on which language to use. Built-in libraries could be streamed on-demand the same way or they can be bundled with the interpreter. It would solve the scalability and security problem.