📊 Shard Your Locks: Benchmarking 6 Go Cache Designs — A Google Cloud engineer benchmarked several approaches (sync.Mutex, sync.RWMutex, sharded locks, etc.) to find the fastest way to guard a concurrent in-memory cache. The numbers vary a lot with different types of load and usage, so benchmarking against your own workload is always best.
Misha Strebkov
IN BRIEF:
-
A 2024 proposal for Go to support process sandboxing on Linux using Landlock has now been accepted.
-
Robert Griesemer notes that in Go 1.27, if the environment has a removed
GODEBUGsetting with a non-default value, execution will panic during initialization as part of the broader policy of removingGODEBUGflags. -
Hajime Hoshi, creator of Ebitengine, noticed that UUIDs generated with
uuid.NewV7()always include7000when running in a browser under thejs/wasmtarget. It's fun to see everyone work out why. -
🔒 Socket reports on a Mini Shai-Hulud supply chain attack (as are plaguing the JS ecosystem lately) that has partly expanded into the Go ecosystem too.
On Excessive nil Pointer Checks — An argument that most defensive if .. != nil guards are a smell and that you should ‘fail fast and fail early’ at construction instead of accepting broken objects.
Konrad Reiche
📄 Don't Run SQL Migrations in Tests: How I Sped Up the Test Suite By 2x – The trick: caching a ‘golden’ migrated database and cloning it per test. Philippe Gaultier
📄 I Taught a Bucket to Speak Git – Wiring together the pure-Go go-git implementation with Tigris’s object storage to build a stateless Git server. Xe Iaso (Tigris)
📄 Socket Activation for a Go HTTP Service on Linux with systemd Chris Korneck
🌲 gtree covers similar ground if you want to render ASCII trees instead.
Delve 1.27: The Popular Go Debugging Tool — A minor bump for the popular debugger, though we haven’t mentioned it in over a year. Over that time, it’s seen some modernization and focused on supporting Go 1.27 better (e.g. generic methods and mapsplitgroup support).
Derek Parker
-
cockroachdb/errors 1.14.0 – Drop-in
errorsreplacement that adds extra features, formatting options, and network portability of error objects. -
TypeScript 7.0 Release Candidate – Microsoft's Go-powered, much-faster native port of the TypeScript compiler.
-
gocondense – A Go code formatter that condenses various multi-line constructs into single lines of code.
-
mpeg 0.6 – Pure Go MPEG 1 video and MP2 audio decoder (both old but unencumbered formats). Now with SIMD-accelerated audio decoding.
-
yarr (Yet Another RSS Reader) 2.7 – Go-powered web-based feed aggregator.
-
bbolt 1.5 – etcd's actively-maintained fork of the Bolt key/value store.
🧩 A coding-agent harness has a boundary you can actually engineer — workspace, drift, verifiers, blast radius. The membrane model, in 4 properties. → Read the post.























