qmetrics.net

TinyGo

Go compiler for microcontrollers and WebAssembly

TinyGo screenshot

TinyGo compiles Go to small binaries for boards, WASM, WASI, and desktop OS targets. It uses LLVM alongside the Go toolchain libraries.

Overview

TinyGo is a Go compiler aimed at constrained devices, WebAssembly runtimes, and command-line tools. It reuses Go’s own libraries and LLVM to produce programs that fit microcontrollers and compact wasm modules.

For embedded work, you select a board target and flash firmware; many boards with onboard LEDs can run the same blink example after changing the target. Firmware output formats depend on the chip, including common microcontroller image types where supported.

WebAssembly support covers browser wasm and WASI for servers and edge runtimes named in the documentation, such as Fastly Compute, Fermyon Spin, and wazero. TinyGo also documents Linux, macOS, and Windows as compilation targets for host binaries.

Project goals emphasize small binary size, broad board support, usable web assembly output, practical CGo call overhead, and compiling much standard library code unchanged. A playground and tour are offered on the project website for trying examples without local hardware.

Key features

  • LLVM-based Go compilation
  • Many microcontroller board targets
  • WASM and WASI output
  • Linux, macOS, and Windows host builds
  • Small binary size focus
  • Standard library subset support
  • CGo integration
  • Docker-based compiler workflow

Use cases

  • Go firmware on Arduino-class boards
  • Embedded IoT prototypes in Go
  • Compact WASI modules for edge hosts
  • Browser WebAssembly from Go source
  • Teaching Go on resource-limited hardware

Tags

Similar software

MicroPython

Lean Python 3 runtime for microcontrollers

MicroPython implements Python 3 syntax and a subset of the standard library for microcontrollers and other constrained systems. It runs scripts from files or frozen bytecode on bare metal or hosted ports.

★ 22.2k⟳ yesterdayMIT · open core

ESP-IDF

Official Espressif SoC IoT development framework

ESP-IDF is Espressif’s official framework for building firmware on supported SoCs. Developers configure, build, and flash projects from Windows, Linux, or macOS using the idf.py workflow.

★ 19.6k⟳ 12 days agoApache-2.0

Zephyr

Scalable real-time operating system for embedded devices

Zephyr is a security-oriented RTOS kernel for resource-constrained hardware, from sensors to IoT gateways, across many CPU architectures.

★ 17.2k⟳ todayApache-2.0

Gobot

Go framework for robotics, drones, and physical computing

Gobot helps you control robots, boards, and sensors from Go, combining many hardware connections in one program. It supports classic robot definitions, minimal hardware-only code, or manager-style swarms with an optional API.

★ 9.5k⟳ 1 year agoApache-2.0

Espruino

JavaScript interpreter for microcontrollers

Espruino is a JavaScript interpreter aimed at microcontrollers with as little as 128 kB flash and 8 kB RAM. Official boards ship with it preinstalled.

★ 3k⟳ yesterdayMPL-2.0 · open core

Mongoose OS

IoT firmware framework for microcontrollers and cloud

Mongoose OS is an IoT firmware development framework with OTA updates, security features, and cloud integrations. Targets ESP32, ESP8266, CC3200 family, and STM32 parts.

★ 2.7k⟳ todayApache-2.0