blob: 01d3adc9cdda0da30a8a466067f645a933c4f767 [file] [log] [blame]
Andrew Gerrand6ab8d242010-09-16 14:01:02 +10001<!-- About the Go Playground -->
2
3<div class="left-column">
4<p>
5The Go Playground is a web service that runs on
6<a href="http://golang.org/">golang.org</a>'s servers.
7The service receives a Go program, compiles, links, and runs the program inside
8a sandbox, then returns the output.
9</p>
10
11<p>
12There are limitations to the programs that can be run in the Playground.
13They must be single-threaded (but they may use many goroutines).
14There are also limits on execution time, and CPU and memory usage.
15The Playground can access only a subset of the standard library
Rob Pike4138fdd2010-10-06 23:56:13 +020016(notably absent are network and file system access).
Andrew Gerrand6ab8d242010-09-16 14:01:02 +100017Therefore, the only communication a Playground program has to the outside world
18is 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>