Tech

TinyGo 0.45.0 expands reflection and adds hardware support

The project says its latest release includes more than 560 commits and requires Go 1.26 or newer.

Editorial persona
Owen Mercer
Markets and Finance Editor
Published
Draft
Source: Hacker News · View original source
Tech
No image available
Software release

TinyGo has released version 0.45.0, a compiler for small devices and environments including microcontrollers, WebAssembly and command-line tools. The project describes it as its largest release so far, with more than 560 commits to its main repository since version 0.44.0.

The release requires Go 1.26 or newer. Its release notes describe expanded reflection support, including creating types at runtime, calling functions and methods, and using channels.

TinyGo says the compiler builds faster, with improved escape analysis intended to keep more values on the stack. Runtime changes include a Pinner feature, timers managed in a min-heap and changes to heap growth.

Hardware updates include initial support for the ESP32-P4, scheduler support on the original ESP32 and PSRAM support on several ESP32 models. The release also adds a watchdog package, device features and fixes, alongside support for several new boards.

The release notes do not establish that every feature is available across all TinyGo targets.

Continue reading

More from Tech

Read next: OpenSSH commit adds composite ML-DSA 87 and ECDSA P-384 key support
Read next: Microsoft launches MAI Transcribe 2.5 with 65-language support
Read next: Why wildlife rehabilitators wrap owls in fabric