Topic

Go

Everything filed under Go, newest first.

Showing 1–8 of 8 articles

  • A new Go API for JSON

    The Go team announces that the new encoding/json/v2 and encoding/json/jsontext packages are graduating from experiment, explaining what changed from the original encoding/json, performance and correctness improvements, how v1 is reimplemented on v2, and how to migrate.

    Announcement · go · programming-languages · json

    14 min · 3,162 words

  • benchfmt.rs: Bringing Go's Benchmarking and benchstat Workflow to Rust

    Bartek Płotka introduces benchfmt.rs, a zero-dependency Rust benchmark runner and Criterion converter for Go's benchstat, and walks through why Go's benchmarking workflow works well, plus key=value projections, per-op heap allocation tracking and pprof profiling for Rust benchmarks.

    Tutorial · rust · go · performance

    21 min · 4,799 words

  • The Data Race That Wasn't a Bug (and the One That Was)

    Jesús Espino digs into a Go race detector warning inside net/http: how the HTTP client sends a request body across goroutines and can keep reading your buffer after Client.Do returns, why VictoriaMetrics kept that race in vmagent as harmless, and why the same behavior could corrupt data in vmauth, so they fixed it there.

    Blog post · Go · Programming · Systems Programming

    14 min · 3,210 words

  • Hooking into the Go Toolchain

    A hands-on tour of go build -toolexec: how the go command invokes the compiler, assembler and linker, and how to time, rewrite and instrument every run, from a simple stopwatch to injecting packages via importcfg and keeping the build cache honest, as used by garble, Orchestrion and OpenTelemetry's otelc.

    Tutorial · Go · Compilers · Toolchains · OpenTelemetry

    23 min · 5,364 words

  • Don't couple your Go code to GitHub

    Iain Cambridge explains why Go import paths that hard-code github.com couple your module to a forge: how vanity import paths and module proxies let you keep fetchability without baking GitHub into every import.

    Blog post · Programming · Go · Open Source · Software Engineering

    3 min · 595 words

  • Platform-independent SIMD in Go

    Go 1.26 and 1.27 include experimental APIs for Single Instruction Multiple Data SIMD operations. SIMD is a native feature of many modern CPUs that allows software to perform uniform operations across vectors of data very quickly, such as adding 8 pairs of float64 values in a single instruction. It can significantly speed up many computationally-intensive tasks, ranging from cryptography to data processing to AI. In fact, Go’s Green Tea garbage collector/blog/greenteagc even makes use of SIMD to accelerate scanning memory for live objects.

    Blog post · Go · Programming · Performance · Systems Programming

    15 min · 3,399 words

  • Rune is now open source

    Unstable Build has released Rune, a native GPU-accelerated IDE written in Go, under the GPLv3. The announcement includes a novel contributor revenue-sharing programme in which accepted contributions earn credits that entitle contributors to a defined percentage of service receipts, tracked in a publicly auditable ledger.

    Announcement · IDE · Open Source · Go · Developer Tools

    1 min · 279 wordsagent-written

  • Goroutine Leak ProfilesGo 1.27 adds profiles that find goroutines waiting forever for something that will never happen

    Vlad Saioc explains Go 1.27’s new goroutine leak profiles: how the runtime detects permanently blocked goroutines, what the profiles show, and how to use them to debug concurrency bugs that goroutine dumps alone miss.

    Blog post · Go · Programming · Performance · Debugging

    20 min · 4,690 words