TinyGo

Languages & Runtimes

Go compiler for microcontrollers and WebAssembly.

Latest v0.44.0 · by TinyGoWritten in GoWebsitetinygo-org/tinygoRSS

Release activity

Release activity — 7 releases across 7 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026No releases on Nov 16, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 20261 release on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026No releases on Nov 17, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 20261 release on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026No releases on Nov 18, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 20261 release on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

7 releases in the last year

Changelog

v0.44.0Latest

0.44.0

Added 10
  • Build support for LLVM 23
  • The cores scheduler supports the ESP32-S3
  • Core affinity for the cores scheduler on ESP32-S3 and RP2040/RP2350
  • USB-OTG device support for the ESP32-S3
  • Flash BlockDevice support for the ESP32-S3
  • Support for the STM32F401 (NUCLEO-F401RE)
Changed 5
  • The interp package evaluates more of the program's initialization at compile time, reducing startup size and time
  • The compiler skips slice bounds checks that cannot fail
  • The compiler avoids byte slice copies in mixed string comparisons and when a load or string slice is compared
  • ESP32-S3 and ESP32-C3 can boot images with large flash segments
  • Flashing an ESP32 no longer erases the entire flash
Fixed 6
  • I2C, SPI, and USB issues on ESP32, RP2, and SAMD
  • os and internal/poll never return a negative count from Read, Write, ReadAt, or WriteAt
  • Signals are delivered under the threads scheduler when blocked on I/O
  • Blank fields are ignored when comparing structs in interfaces
  • Finalizers run with the Boehm GC, including interior finalizers
  • Scheduler lock starvation in rp2 schedulerUnlockAndWait
Removed 1
  • Support for LLVM versions below 15

From TinyGo

Mere weeks after our previous release, this new version brings massive performance boosts, improvements in toolchain support, and lots of new hardware. TinyGo now builds against LLVM 23 and drops support for LLVM versions below 15. The interp package now runs more of your program's initialization at compile time so startup is smaller and faster. The compiler skips slice bounds checks that cannot fail and avoids more byte slice copies in string comparisons. On the hardware side, the cores scheduler now supports the ESP32-S3 and adds core affinity for both it and the RP2040/RP2350. The ESP32-S3 also gets USB-OTG device support and flash BlockDevice support, and ESP32-S3 and ESP32-C3 can now boot images with large flash segments. There are also many I2C, SPI, and USB fixes for ESP32, RP2, and SAMD. New boards include the Arduino Uno R4 Minima and WiFi, the NUCLEO-F401RE, and the M5Stack StampFly.

  • general
    • drop support for LLVM versions below 15 (#5925)
    • add LLVM 23 build support (#5782)
    • main: do not erase the entire flash when flashing esp32 (#5971)
    • main: update to espflasher 0.9.2 (#6000)
    • main: preserve Windows paths in linker flags (#6032)
    • main: make tinygo fix useful for TinyGo sources (#5992)
    • compileopts: add -panic-unwind=none (#5982)
    • compileopts: fix build tag order (#5782)
    • loader: split CGO_*FLAGS environment variables the same way as the go command (#6022)
    • loader: preserve the working directory in go list (#5914)
    • all: use newer Go library functions and language features, and remove Go version checks that are always true (#5906, #6038)
    • all: check out testdata with LF line endings on all platforms (#5872)
    • tools: migrate to Go tool directives (#5881)
    • lib: update macos-minimal-sdk to v0.1.2 (#5870, #5976)
  • compiler
    • compiler: support long struct tags (#5854)
    • compiler: prevent compile time functions leaking into run time (#5887)
    • compiler: report errors for misused pragmas (#5936, #5894)
    • compiler: avoid byte slice copies in mixed string comparisons, and when a load or string slice is compared (#5784, #5937)
    • compiler: compare range loop index unsigned (#5999)
    • compiler: skip slice bounds checks that cannot fail (#5997)
    • compiler: fix the element size check in make for 32-bit targets (#6004)
    • compiler: build programs that start goroutines from either branch of an if (#6016)
    • compiler: report only panicking binary operations as unwinding (#5986)
    • cgo: apply target-specific #cgo flags, preserve preprocessor and C++ build flags, and order CGo flags like the go command (#5976)
    • cgo: accept unsigned as an alias for uint (#5976)
    • cgo: emit one AST comment per pragma (#5895)
    • cgo: handle LLVM 23 predefined type sugar (#5782)
    • builder: add AEABI unaligned read/write helpers to compiler-rt (#5988)
    • builder: link package modules with a single Linker (#5979)
    • builder: free go/ssa and the program module before linking (#6020)
  • core
    • reflect: implement Value.SetPointer (#5875)
    • reflect: convert VisibleFields field types (#5890)
    • reflect: fix FieldByIndex for empty indexes and non-struct roots (#5893)
    • reflect: distinguish interface and slice cycle visits (#5868)
    • reflectlite: use less stack when reading struct fields (#5884)
    • testing: implement B.Loop, give benchmarks a context, and fix ReportMetric (#5831)
    • os, internal/poll: never return a negative count from Read, Write, ReadAt, WriteAt or a wasip1 FD (#5900)
    • os: avoid startup work for unused temporary files (#5973)
    • syscall: report unsupported WASI ownership changes (#5867)
    • syscall: split an environment entry at its first '=' on js (#5886)
    • interp: evaluate memset, private atomic operations, map lookups, interface hashing, and deferred initialization at compile time (#5903)
    • interp: handle llvm.ctlz (#5963)
    • interp: stop pointer-derived integers from becoming zero (#5965)
    • interp: keep partial loads independent of buffers owned by a caller's memory view (#5905)
    • interp: keep memcpy results out of the global state when an initializer is reverted (#5904)
    • interp: limit each value to its own bytes in toLLVMValue (#5826)
    • interp: say why a rollback happened, and only print instructions of errors that leave interp (#5989, #5935, #5985)
    • transform: keep allocations on the stack when they flow through a select (#5891)
  • runtime
    • add core affinity for the cores scheduler (#5873)
    • hand the clock to a waiting core before running a task (#5919)
    • deliver signals under the threads scheduler when blocked on I/O (#5530)
    • ignore blank fields when comparing structs in interfaces (#5880)
    • report allocation counts in MemStats with the boehm collector (#5939)
    • run finalizers with Boehm GC, including interior finalizers (#5791)
    • scan only the live part of asyncify stacks (#5930)
    • remove go:nobounds where it has no effect (#6007)
    • wasm: round sleepTicks up to a whole millisecond (#5818)
    • riscv-qemu: clear stale timer wakeups (#5873)
    • rp2: fix scheduler lock starvation in schedulerUnlockAndWait (#5940)
    • esp32c3, esp32c6, esp32h2: register the timer alarm handler (#6052)
  • machine
    • esp32s3: add support for the cores scheduler, and fix two context bugs in the interrupt handler (#5910)
    • esp32s3: add USB-OTG device support (#6000)
    • esp32s3: add flash BlockDevice support (#5934)
    • esp32s3: always route SPI pins through the GPIO matrix (#5920)
    • esp32xx: let machine.Flash write past 2 MB (#6003)
    • esp32xx: wait for the I2C bus to be free before a transaction (#5978)
    • esp32xx: add WASM simulator support for the StampFly and ESP32-C3 SuperMini (#5921, #5918)
    • esp32: do not allocate on each I2C transaction (#5922)
    • esp32c6: fix an ADC hang by initializing the APB_SARADC and Modem/ADC peripheral (#5668)
    • stm32: add STM32F401 support (#5597)
    • ra4m1: add SCI UART driver (#6015)
    • rp2: keep PLL calculations out of startup (#5837)
    • rp2: make random number reads safe across cores (#5964)
    • rp2: stop SPI1 transmit from restarting SPI0 DMA, and report SPI DMA bus errors (#6010, #6012)
    • atsamd21, atsamd51: handle USB TX complete together with RX complete (#6024)
    • usb/cdc: resume TX after the host configures the device again (#6000)
  • targets
    • add Arduino Uno R4 Minima and Arduino Uno R4 WiFi (#5734)
    • add NUCLEO-F401RE (#5597)
    • add M5Stack StampFly (#5921)
    • esp32s3, esp32c3: boot images with large flash segments (#6001, #6017)
    • esp32s3: map all code and keep flash data clear of the image footer (#5934)
    • use full 2MiB flash on Waveshare RP2040-Zero, and correct flash sizes for six RP2040 boards (#5970, #5977)
    • hold BOOT0 low when flashing arduino-uno-q (#6040)
    • arduino-uno-r4-wifi: document the bossac requirement (#6006)
    • tools: handle Renesas SVD quirks (#5734)
  • build/test
    • ci: build linux arm and arm64 releases on arm runners (#5995)
    • ci: build against Homebrew LLVM 23 on macOS, test LLVM 16, 20, 21, and 22 there, and link and run a program in the homebrew-install job (#5968, #5923, #6018)
    • ci: move macOS arm64 runners to macos-15, and run only the smoke tests on the intel macOS runner (#5899, #5924)
    • ci: run all test packages on Windows and macOS (#5879)
    • ci: reject coding tool attributions in PRs and commits (#5869)
    • build: link wasm-opt with mimalloc on Linux (#5980)
    • make: use per-package standard library test options, and test stack-heavy packages and ML-DSA (#5824, #5855, #5866)
    • builder: add size tests for startup work removed by interp, and match them to the CLI interpreter limit (#5983, #5975, #5915)
    • tests/wasm: stop at once when headless Chrome does not start (#6021)
    • tests: count string comparison allocations with any garbage collector (#5938)
    • loader, interp, transform: fix test setup for module context, absolute paths, and fixture discovery (#5853, #5871, #5913, #5916)
View originalPermalink
How v0.44.0 went
v0.43.0

0.43.0

Added 15
  • Runtime supports synctest
  • Runtime implements NumGoroutine
  • Panic recovery is supported on Xtensa
  • Panic recovery is supported on WebAssembly without exceptions
  • Testing package supports parallel tests
  • Testing package implements AllocsPerRun
Changed 3
  • GC uses precise layouts and scans globals precisely on all platforms
  • Tinygo run gives the program access to stdin
  • Crypto/rand implements Text
Fixed 3
  • Many I2C issues are fixed for the ESP32 family
  • PWM above 78 kHz and lost duty updates are fixed on ESP32
  • Multicore RISC-V GC synchronization is fixed
View originalRead the notes
How v0.43.0 went
v0.42.0

0.42.0

Added 22
  • Add LLVM 22 support and support LLVM 19 and LLVM 20 on Fedora 43
  • Build and test using Go 1.27, and raise the maximum supported Go version to 1.27
  • Add basic probe-rs support to the CLI
  • Add CGO_CFLAGS support
  • Make runtime, map, and channel panics recoverable, so recover() works for runtime errors such as divide-by-zero and nil dereference
  • Support recover on riscv64
Changed 14
  • Update to espflasher 0.8.0 with fixes for esp32c3 and esp32s3
  • Make the -monitor flag on flash respect the port
  • Allow the -o flag to point to a directory
  • Make composite map hashes order dependent
  • Pass large aggregates by pointer
  • Use LLVM intrinsics for math trig operations
Fixed 12
  • Fix deadlock in the sync Map.Range callback
  • Fix -ldflags -X not overriding variables with default values
  • Fix ticker not stopping when Stop races with its callback
  • Wake channel waiters after releasing locks
  • Correct the old size calculation in GC block realloc
  • Correct the leaking allocator bounds and overflow checks in the GC
Removed 1
  • Remove sliceHeader from syscall in favour of unsafe.SliceData
View originalRead the notes
How v0.42.0 went
v0.41.1

0.41.1

Fixed 3
  • esp32c3: correct pin interrupt setup call that was overlooked from #5320
  • esp32s3: wait for TIMG0 update register to clear before reading timer registers
  • net: update net module to a version that is backwards compatible with Go 1.25.x
View originalRead the notes
How v0.41.1 went
v0.41.0

0.41.0

Added 24
  • Builder supports Go 1.26
  • Add inheritable-only field to filter processor-level targets
  • Add esp32flash flash method for esp32s3, esp32c3, esp32 and esp8266 targets
  • Introduce flash method esp32jtag for esp32c3 and esp32s3 targets
  • Add adb flash method using Android Debug Bridge
  • Implement method-set based AssignableTo and Implements
Changed 3
  • Bump minimum Go version to 1.23
  • Automatically use the best available flashing options on esp32
  • Update espflasher to version 0.6.0
Fixed 10
  • Fix min and max on floats by using intrinsics
  • Fix reflect TypeAssert for structs
  • Fix 32 MiB RAM overflow on microcontrollers in loader and crypto/internal/entropy
  • Fix hiBits overflow on 16-bit AVR targets in loader and unicode/utf8
  • Fix panic in findPackagePath when using -size short
  • Fix SIGSEGV when stripping duplicate function definitions
View originalRead the notes
How v0.41.0 went
v0.40.1

0.40.1

Changed 4
  • Call initRand() during run() for all schedulers
  • Call initRand() before initHeap() during runtime initialization
  • Use rand_hwrng hardwareRand for RP2040/RP2350
  • Use updated location for the picolibc git repository
Fixed 2
  • Fix flash writes on nRF when the SoftDevice is enabled
  • Avoid a fixed math/rand sequence on RP2040/RP2350
View originalRead the notes
How v0.40.1 went
v0.40.0

0.40.0

Added 12
  • Full LLVM 20 support
  • Enable the //go:linkname pragma for globals
  • Flag to ignore the Go compatibility matrix
  • Add testing.T.Context() and testing.B.Context()
  • Xiao ESP32-S3 board target (xiao-esp32s3)
  • ESP32-S3 support
Changed 17
  • Emit an error when the actual architecture does not match GOARCH
  • Mark string parameters as readonly
  • Use Tarjan's SCC algorithm to detect loops for defer
  • Lower the large stack limit to 16kb
  • Garbage collector is up to 10% faster, using best-fit allocation and a branchless sweep
  • Shrink the bdwgc library
Fixed 17
  • Linker errors for runtime.vgetrandom and crypto/internal/sysrand.fatal
  • Infinite longjmp loop on AVR when the stack is aligned to 256 bytes
  • Full size of allocation is cleared in the garbage collector
  • World already stopped check in the Boehm GC
  • Sleep duration for long sleeps
  • Expanded RTT debugger compatibility
Removed 1
  • Copied code for nrf52840
View originalRead the notes
How v0.40.0 went
v0.39.0

0.39.0

Added 12
  • Add Go 1.25 support
  • Add multicore scheduler support for the RP2350 processor family
  • Add multicore threading support for macOS (darwin) and use it by default
  • Add -o flag to flash command to save the built binary
  • Add international keys to the machine package
  • Add I2C and SPI support for the Teensy 4.1 board
Changed 12
  • Update to the latest tinygo net package
  • Clarify the build verification step for macOS users in the documentation
  • Update clang to version 17 to match the latest Go 1.25 docker base image
  • Show the compiler error, if any, when running tinygo test -c
  • Correct the GOOS=js name used in WASM error messages
  • Standardize I2C error messages with an "i2c:" prefix
Fixed 5
  • Install missing dlmalloc files in the Makefile
  • Use the correct channel mask for the rp2350 ADC and hold the lock during reads
  • Disable digital input for analog inputs on rp2 targets
  • Make the goroutines test less racy and de-flake it
  • A few small correctness fixes in internal/task
View originalRead the notes
How v0.39.0 went
v0.38.0

0.38.0

Added 13
  • Multicore support for RP2040 microcontrollers, allowing TinyGo to use both cores simultaneously
  • USB Mass Storage Device (MSD) support on the RP2040/RP2350, SAMD21, and SAMD51 processors
  • Experimental Boehm garbage collector support for WebAssembly
  • Support for LLVM 20
  • Support for GODEBUG=gotypesalias=1
  • Support for -nobounds compiler flag, similar to -gcflags=-B
Changed 6
  • Upgraded golang.org/x/tools to v0.30.0
  • The -json build output now includes StartPos and EndPos, and the -json flag matches upstream Go
  • RWMutex is implemented using futexes
  • Flash memory writes on SAMD51 occur in 512 byte chunks and on SAMD21 in 64 byte chunks
  • Windows on i386 uses MSVCRT.DLL instead of UCRT
  • Every goroutine maps to a new OS thread when using the threads scheduler
Fixed 6
  • DMA to SPI transmits on RP2350
  • copy() from and to external buffers in the interpreter
  • Build warnings on Windows ARM
  • Wrong register used for the first parameter on Windows
  • Race condition in testdata/goroutines.go and the TestMutexConcurrent test
  • Use of OpenOCD flash method on microbit v2 when using Nordic Semi SoftDevice
View originalRead the notes
How v0.38.0 went
v0.37.0

0.37.0

Added 7
  • Add the Boehm-Demers-Weiser garbage collector as an option on Linux
  • Add goroutine benchmark to examples
  • Add flash support for rp2350
  • Add stub Symlink for wasm in os
  • Add Value.SetIterKey and Value.SetIterValue and MapIter.Reset in reflect and internal/reflectlite
  • Add Go 1.24 iter.Seq and iter.Seq2 methods to reflect
  • Add VirtIO RNG device for riscv-qemu
Changed 11
  • Bump rp2040 clock to 200MHz
  • Make SPI a pointer type everywhere for consistent implementations across machines and boards
  • Update go.bytecodealliance.org to v0.6.2 in GNUmakefile and internal/wasm-tools
  • Update go.bytecodealliance.org/cm to v0.2.2 in internal/cm
  • Allow crypto/internal/sysrand to use unsafe signatures in compiler
  • Use build tags for package iter and iter methods on reflect.Value in loader, iter, and reflect
Fixed 5
  • Ensure pointer use for SPI interface on atsam21, atsam51, and other machines and boards missing the implementation
  • Replace loop counter with hardware timer for USB SetAddressReq on rp2040
  • Correct register address for Pin.SetInterrupt on rp2350
  • Avoid blocking the rp2xxx UART interrupt handler
  • Fix RP2040 Pico board on the playground
View originalRead the notes
How v0.37.0 went
v0.36.0

0.36.0

Added 21
  • Initial Go 1.24 support
  • Support for LLVM 19
  • buildmode=wasi-legacy to support existing users who expect the older WASI module behavior of not returning an exit code as if they were reactors
  • Dialer.DialContext() in crypto/tls to fix the websocket client
  • VersionTLS constants and a VersionName(version uint16) method in crypto/tls that converts a version to a string
  • File.Chdir support in os
View originalRead the notes
How v0.36.0 went
View all

Discussion

If you publish TinyGo, you can claim this product by proving you administer its repository.