[0] Runs cross-domain [Sandbox] No, and there’s no need to since code runs within the SharePoint farm. [Apps] Yes, which provides a very interesting way to distribute server loads. [Farm] 
No, and there’s no need to since code runs within the SharePoint farm.