1. A computer-implemented method for providing an integrated development environment (IDE) on a client machine with network-based compilation and sandboxed execution, comprising: providing an IDE by a web browser on a client machine, the IDE having a document editor that allows a user to generate source code; transmitting the source code from the client machine to one or more server machines via a network connection to be compiled into compiled native machine instructions; receiving the compiled native machine instructions from the one or more server machines by the client machine for execution in a sandboxed environment; and executing the compiled native machine instructions in the sandboxed environment, the sandboxed environment executing on the client machine, wherein execution of system calls originating from the compiled native machine instructions that present a security risk are blocked using the sandboxed environment and execution of system calls originating from the compiled native machine instructions that do not present a security risk are allowed in the sandboxed environment.