TinyGo brings the Go programming language to embedded systems and to the modern web by creating a new compiler based on LLVM. You can compile and run TinyGo programs on over 60 different microcontroller boards such as the BBC micro:bit and the Arduino Uno. TinyGo can also produce WebAssembly (WASM) code which is very compact in size. You can compile programs for web browsers, as well as for server and edge computing environments that support the WebAssembly System Interface (WASI) family of interfaces. TinyGo is a Go compiler intended for use in small places such as microcontrollers, WebAssembly (Wasm), and command-line tools. It reuses libraries used by the Go language tools alongside LLVM to provide an alternative way to compile programs written in the Go programming language. While TinyGo embeds the Clang compiler to parse import "C" blocks, many features of Cgo are still unsupported.

Features

  • The subset of Go that directly translates to C is well supported
  • Slices are well supported
  • Interfaces are quite stable and should work well in almost all cases
  • Type switches and type asserts are also supported
  • Closures and bound methods are supported, for example inline anonymous (lambda-like) functions
  • The defer keyword is almost entirely supported, with the exception of deferring some builtin functions

Project Samples

Project Activity

See All Activity >

Categories

Terminals, Compilers

License

BSD License

Follow TinyGo

TinyGo Web Site

You Might Also Like
See Everything. Miss Nothing. 30-day free trial Icon
See Everything. Miss Nothing. 30-day free trial

Don’t let IT surprises catch you off guard. PRTG keeps an eye on your whole network, so you don’t have to.

As the IT backbone of your company, you can’t afford to miss a thing. PRTG monitors every device, application, and connection - on-premise and in the cloud. You get clear dashboards, smart alerts, and mobile access, so you’re always in control, wherever you are. No more guesswork or manual checks. PRTG’s powerful automation and easy setup mean you spend less time firefighting and more time moving your business forward. Discover how simple and reliable IT monitoring can be.
Try PRTG 30-day full access trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TinyGo!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Terminals, Go Compilers

Registered

2022-03-23