Andrew Gerrand | 6ab8d24 | 2010-09-16 14:01:02 +1000 | [diff] [blame] | 1 | <!-- About the Go Playground --> |
| 2 | |
| 3 | <div class="left-column"> |
| 4 | <p> |
| 5 | The Go Playground is a web service that runs on |
| 6 | <a href="http://golang.org/">golang.org</a>'s servers. |
| 7 | The service receives a Go program, compiles, links, and runs the program inside |
| 8 | a sandbox, then returns the output. |
| 9 | </p> |
| 10 | |
| 11 | <p> |
| 12 | There are limitations to the programs that can be run in the Playground. |
| 13 | They must be single-threaded (but they may use many goroutines). |
| 14 | There are also limits on execution time, and CPU and memory usage. |
| 15 | The Playground can access only a subset of the standard library |
Rob Pike | 4138fdd | 2010-10-06 23:56:13 +0200 | [diff] [blame] | 16 | (notably absent are network and file system access). |
Andrew Gerrand | 6ab8d24 | 2010-09-16 14:01:02 +1000 | [diff] [blame] | 17 | Therefore, the only communication a Playground program has to the outside world |
| 18 | is via standard output. |
| 19 | </div> |
| 20 | |
| 21 | <div class="right-column"> |
| 22 | <script src="http://www.google.com/jsapi" type="text/javascript"></script> |
| 23 | <div id="playground" class="small"></div> |
| 24 | <script src="/doc/play/playground.js"></script> |
| 25 | </div> |
| 26 | |
| 27 | <div class="end-columns"></div> |