The TinyGo Playground is a service provided by the TinyGo project
to compile and run small code samples directly in the browser. It
has been heavily inspired by the Go Playground but differs in
some significant ways:
-
We use the TinyGo compiler in addition to the main Go compiler.
-
Instead of running code on the server, code is compiled to WebAssembly and runs
directly in the browser.
-
It can simulate a few popular boards directly in the browser.
However, please note that this is a simulation which can differ
in behavior from how the program will run on the actual device.
-
Boards that support drag-and-drop programming can be flashed
directly using the Flash button.
For more information, visit tinygo.org.
Source code of the playground: github.com/tinygo-org/playground.