TinyGo 0.45.0 is a major release with more than 560 commits since version 0.44.0, and it now requires Go 1.26 or later. A central advance is substantially broader reflection support: programs can construct types at runtime, call functions and methods dynamically, use channels through reflection, and work with more conversions and iterator functions. The compiler also builds faster, while improved escape analysis keeps more values on the stack. Runtime changes include a new Pinner implementation, smarter heap growth, and timer management using a min-heap. On Linux, process creation now uses posix_spawn, with support for waiting, killing, and signaling processes.
The release expands embedded-device support, including initial support for the ESP32-P4, PSRAM on several ESP32 and RP2040-family boards, and scheduler support on the original ESP32. New capabilities include watchdog support, capacitive touch on ESP32 variants, and WiFi, PWM, SPI, and flash support for ESP32-C6; I2C support also receives many fixes. Newly supported boards include the Waveshare ESP32-P4-NANO, Elecrow CrowPanel ESP32-P4, Adafruit ESP32-S3 Feather TFT, and Arduino Nano R4. Other changes improve operating-system and testing support across Linux, Windows, and WASI, update build and debugging tools, and refine compiler optimizations, garbage collection, and compatibility with LLVM versions 20 through 23.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.