There are many websites providing cloud coding sush as Cloud9
, repl.it
. They must use server virtualisation technologies. For example, Clould9's workspaces are powered by Docker Ubuntu containers. Every workspace is a fully self-contained VM (see details).
I would like to know if there are other technologies to make sandboxed environment. For example, RunKit seems to have a light solution:
It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm's 300,000+ packages are pre-installed, so try it out
Does anyone know how RunKit acheives this?
You can see more in "Tonic is now RunKit - A Part of Stripe! " (see discussion)
The details are in "Time Traveling in Node.js Notebooks"
Part of that setup is being opened-source, as mentioned in this HackerNews feed.