hn.today

TinyGo 0.45.0 Released

github.com303 points49 comments
Screenshot of TinyGo 0.45.0 Released

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.

Read on github.com49 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Rust

Laravel Rust

Laravel for Rust is a full-stack web framework with routing, validation, database tools, background jobs, and real-time features. It also supports Inertia for frontend integration and is released under the MIT license. (github.com)

The Uberization of Software

The Uberization of Software

Ride-hailing apps greatly expanded demand for trips but undercut the value of taxi medallions and squeezed driver earnings by removing the supply limits that had protected them. The essay argues that software engineering faces a similar paradox: rising demand can lower workers’ pay when technology rapidly expands the supply of labor. (lsrx.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.