RepoJournal
Go

@golang

Go and the standard library - backend infrastructure at scale

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Go Infrastructure Full archive →

The Wire · Showcase

RUNTIME MEMORY OPTIMIZATION LANDS AS RISC-V CRYPTO SUPPORT EXPANDS

By RepoJournal · Filed · About Go

Go's allocator just got leaner, dropping specialized memory classes above 128 bytes to cut icache misses and improve performance across the board.

The runtime team shipped a major optimization [1] removing oversized specialized allocation classes that were benchmarking worse than the generic path. This addresses the icache regression from the recent sizespecializedmalloc experiment and should land before the next minor release. Meanwhile, RISC-V gets serious: three coordinated changes across go/arch [2], cmd/asm [3], and the main tree add full vector cryptography (Zvk, Zvbb, Zvbc) instruction support [3], cementing Go's position on cutting-edge hardware. On the security front, debug/pe and debug/macho now use safe buffer allocation [4] instead of heap-bombing on crafted binaries with huge decompression sizes — this prevents out-of-memory panics from malformed files. The telemetry desk added platform/target port counters [5] pairing GOOS and GOARCH together so the team can see exactly which OS/arch combinations see real traffic. Meanwhile, CGO users get a fix [6] forcing external linking when CGO_LDFLAGS contains static-linking flags, preventing the internal linker from choking on unresolvable libc symbols. On the infrastructure side, vulndb switched to the latest golang Docker image [7] to dodge minor version security issues during testing, and pkgsite squashed banner flakiness across screen tests [8] [9].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] runtime: remove specialized classes larger than 128 bytes golang/go
  2. [2] riscv64: add support for zvk instructions golang/arch
  3. [3] cmd/asm, cmd/internal/obj: add zvbb/zvbc for riscv64 golang/go
  4. [4] debug/pe, debug/macho: use saferio.ReadData for ZLIB section decompression golang/go
  5. [5] cmd/go/internal/telemetrystats: add go/platform/target/port:*-* counter golang/go
  6. [6] cmd/go: force external linking when CGO_LDFLAGS contains static-linking flags golang/go
  7. [7] deploy: use the "latest" golang image for testing golang/vulndb
  8. [8] tests: update screen test to prevent dynamic banner golang/pkgsite
  9. [9] tests: hide dynamic banner in screen tests golang/pkgsite

Quick answers

What shipped in Go on May 13, 2026?
Go's allocator just got leaner, dropping specialized memory classes above 128 bytes to cut icache misses and improve performance across the board. In total, 17 commits landed.
What were the notable Go updates?
runtime: remove specialized classes larger than 128 bytes, riscv64: add support for zvk instructions, and cmd/asm, cmd/internal/obj: add zvbb/zvbc for riscv64.

More from @golang

Daily updates, in your inbox

Follow Go

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?