TinyGo 0.45.0 Released
0.45.0 Latest Latest Compare Sorry, something went wrong. Filter Sorry, something went wrong. There was an error while loading. No results found View all tags github-actions released this 01 Dec v0.45.0 7674ae7 This is our biggest release so far, with more than 560 commits to our main repo since 0.44.0. Important: TinyGo now requires Go 1.26 or newer. The reflect package gets much more complete: you can now build new types at run time with StructOf, FuncOf, MapOf and similar functions, call functions and methods with Value. Call and MakeFunc, and use channels. On Linux, os now starts processes with posix_spawn, which brings Process. The compiler builds faster, and better escape analysis keeps more values on the stack. The runtime adds Pinner, keeps timers in a min-heap, and grows the heap more smartly. On the hardware side, there is initial support for the new ESP32-P4. The cores scheduler now runs on the original ESP32, and PSRAM works on ESP32 WROVER, ESP32-S3 Octal and Pimoroni Pico Plus 2. There is a new machine/watchdog package, capacitive touch on ESP32 and ESP32-S3, WiFi plus PWM, SPI and flash on ESP32-C6, and many I2C fixes for AVR and the ESP32 family. Syscall* on darwin (#6557) compiler: return ^uintptr(0) in r1 on Linux syscall error, and lower unix. RawSyscallNoError as a no-error syscall (#6682, #6684) compiler: keep frame pointers on linux amd64 and arm64 (#6088) compiler: give wasm modules the same triple as clang (#6309) compiler: avoid mixing LLVM contexts in WebAssembly exports (#6352) compiler: fix two Asyncify panic/recover bugs (#6332) compiler: fix the float to int saturation bound (#6558) compiler: reject nil assertions to empty interfaces (#6147) compiler: name promoted unexported methods (#5901) compiler: don't evaluate the operand of unsafe. Call, CallSlice, MakeFunc, method lookup and callable methods (#6255, #6257, #6444, #6458) reflect: implement channel operations (#6348, #6440) reflect: support composite and interface conversions (#6180) reflect: implement SliceAt and Value. InterfaceData (#6181, #6234) reflect: recognize iterator function signatures in CanSeq, and iterate over function values with Seq and Seq2 (#6254, #6444) reflect: support deeply nested pointer types, and use the shared type cache for pointer types (#6250, #6366, #6367) reflect: avoid allocations in DeepEqual (#6079) reflect: expose function signature information, and enable more reflect tests (#6217, #6249, #6639) reflectlite: report pointer-to-pointer types as comparable (#6388, #6359, #6512) os: start processes with posix_spawn on linux, and implement Process. Files there (#6301, #6306, #6341, #6323, #6320, #6342, #6346) os: implement Hostname and Chtimes on linux, file seeking on 32-bit linux, and pass O_CLOEXEC when opening files (#6091, #6289, #6067, #6288) os: make Glob, ReadDir and File. Chdir work on Windows (#6073, #6659) os: support RemoveAll on WASI, and provide a null device on non-hosted targets (#6662, #6080) syscall: recognize missing files on Windows (#6065) syscall: reject empty paths in libc Open (#6641) syscall: fix WASIp1 and WASIp2 working directories (#5874) crypto/rand: use getrandom on Linux, and exclude stm32g0, which has no RNG driver (#6308, #6443) sync: drop pooled items after two collections (#6093) testing: print go test compatible benchmark output, and add B.
Original story by Hacker News • View original source
Anonymous Discussion
Real voices. Real opinions. No censorship. Resets in 11 hours.
About NewsBin
Freedom of speech first. Anonymous discussion on today's news. All content resets every 24 hours.
No accounts. No tracking. No censorship. Just honest conversation.
Loading comments...