Architecture

Diggy runs a container for executing code in isolation aka sandbox. There are some limitations you might want to be aware of.

A client sends code to a sandbox, the sandbox executes the code, and finally the results of the execution are returned to the client.

The code is executed in a Python process that is launched through NsJail, which is responsible for sandboxing your code.

The output returned by sandbox is truncated at around 1 MB.