
Summary
A new proposal to enhance the Go programming language's maps package has been accepted, introducing a `grow` function that allows developers to pre-allocate space for existing maps. This feature aims to improve performance by reducing the need for intermediate reallocations when adding large numbers of elements to a map. The proposal builds on previous discussions from 2022 and is expected to be included in the upcoming Go 1.28 release.
In other news, Estonia's election system, which is primarily developed in Go, has garnered attention for its open-source approach. The system allows for public review of its code, potentially increasing transparency and trust in the electoral process. However, concerns remain regarding the security of online voting systems, with discussions about whether open-sourcing code benefits defenders or attackers more. An Estonian developer noted that the choice of Go for the election system may have been influenced by vendor lock-in considerations.
Additionally, a recent vulnerability in the Linux kernel has implications for Go programs, particularly those utilizing multipath TCP (MPTCP). The vulnerability requires users to upgrade their Linux kernel to mitigate risks, as the default settings in Go may expose applications to this issue. The Go community is actively discussing the best ways to address these security concerns while maintaining the language's functionality.
Show Notes
🗺️ Accepted proposal: add maps.Grow 🇪🇪 IVXV online voting systemReddit thread
🐧 Protecting against CVE-2026-98432 🌩️ Lightning roundagent-manager tinygo 0.44.0 released
★ Support this podcast on Patreon ★
More from Cup o' Go
Visit cupogo.dev and your next deployment will have 0 rollbacks. [security] Go 1.27.5 and Go 1.26.12 pre-announcement Anton's Go proposal tracker mainthread.Do declined Typed struct tags Lightning Round: go4vl, tinygo 0.45.0
proposal: net/netip: add netip.Addr.To6() FOSDEM'27, Jan 30 & 31 @ Brussels, Belgium Golang SF on YouTube Go Turns 17 Observability Full Course: Logs, Metrics & Traces on YouTubeInteractive course @ Boot.dev
Thank you to https://www.assembled.com/ for hosting Cup o' Go! Go Sets proposal: go test should run analyzers specified by the workspace Vercel Go Support Lightning Round:JSON v2 Phuong Le's YouTube about Go
Do the 2026 Go Developer Survey, and tell them Cup o' Go sent you! Go 1.27.3 and Go 1.26.10 are released due to eMudhra Intermediate CA Compromise Interview with Ainsley ClarkAinsleyClark.com templ