Replit does this for their own services, and it seems like they might give you access to it, too[1].
That post is old and not very detailed, so maybe I'm misinterpreting it.
That post is old and not very detailed, so maybe I'm misinterpreting it.
from the page: "Our old code execution API has been deprecated."
That would be the perfect solution to this, that's for sharing! Hopefully they'll launch something new soon!
They have already figured out how to isolate functions from harming the host system, and they've solved the issue of potentially infinite execution time.