Topic

Go

Follow Go news, standard library updates, concurrency patterns, backend service lessons, and production reliability discussions from developer communities. Snapbyte.dev ranks Go stories so you can catch up quickly.

What this topic tracks

  • Language and standard library updates
  • Goroutines, concurrency, and runtime behavior
  • Backend services and API design
  • Cloud-native and infrastructure tooling
  • Performance and production reliability

Go · 127 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

openai/openai-cli

github.com · 22 Oct

Artificial Intelligence · CLI · Go · OpenAI · REST API

OpenAI CLI is the official command-line interface for the OpenAI REST API, providing resource-based commands for standard and admin endpoints.

It supports API-key and mutual TLS authentication, readable or JSON/JSONL/YAML output, GJSON transformations, file uploads and downloads, image generation and editing, shell completion, command insertion, and actionable errors. Its distinguishing features include offline help, safe file-reference handling for untrusted stdin, update notices without automatic installation, and support for custom headers and API backends.

I decided to make a worse UUID for the pettiest of reasons.

gitpush--force.com · 19 Jan

Backend · Database · Go

The author introduces smolid, a custom 64-bit ID scheme developed in Go as a more compact alternative to UUID.

While it sacrifices global uniqueness by reducing entropy to prioritize shorter URLs and temporal ordering, it offers unique features like embedded type identifiers and native compatibility with 8-byte integers. Despite its limitations, such as a custom epoch ending in 2094 and collision risks at high throughput, it serves as a specialized tool for projects where aesthetic URLs and database index locality are preferred over the vast entropy of standard UUIDs.

Go 1.27 Interactive Tour

victoriametrics.com · 31 Jul

Go · Programming Languages · Software Architecture

Go 1.27 introduces significant enhancements, most notably generic methods that declare their own type parameters.

The update features a new simd package for vectorization, crypto/mldsa for post-quantum security, and a standard library uuid package. Furthermore, encoding/json/v2 is now official, and improvements in error tracing, testing utilities, and compiler optimizations bolster performance and development productivity.

Reducing the size of Go binaries by up to 77%

datadoghq.com · 18 Feb

Go · Performance · Open Source

Datadog reduced its Go binary sizes by up to 77% between versions 7.60.0 and 7.68.0.

By auditing dependencies, refactoring code, and leveraging linker optimizations like method dead code elimination, they decreased the Linux artifact size from 1.22 GiB to 688 MiB without removing features, benefiting resource-constrained environments like IoT and serverless.

How I use HTMX with Go

alexedwards.net · 14 Jul

Backend · Go · Software Architecture

This article explains how to integrate HTMX with Go for interactive web applications.

It covers structuring HTML templates using Go's html/template package, embedding static assets, handling redirects, managing browser history, and configuring HTMX for error handling and partial response rendering.

Better HTTP/1 connection reuse

go.dev · 14 Oct

Go · Performance

Go 1.27 makes HTTP/1 connection reuse more effective by automatically draining unread response bodies before closing them.

In Go 1.26, code that only checked resp.StatusCode abandoned HTTP/1 connections, repeatedly paying TCP/TLS setup costs; 100 requests took about 710 ms versus 150 ms in Go 1.27. net/http now drains asynchronously for up to 50 ms or 256 KB, while skipping useless work for Connection: close, so callers generally only need to close response bodies.

Better and Cheaper Than IPTV

github.com · 19 Jul

CLI · Go · Terminal

Castor is a command-line tool that extracts web video streams and casts them to DLNA/UPnP smart TVs in real time.

It bypasses limited native casting by using headless Chrome to fetch streams, ffmpeg for transcoding, and offers optional whisper-based subtitle generation, providing a high-quality alternative to screen mirroring.

Announcing TypeScript 7.0 Beta

devblogs.microsoft.com · 21 Apr

Go · Programming Languages · TypeScript

TypeScript 7.0 Beta has been released, featuring a complete port from the original codebase to Go.

This architectural change delivers significant speed improvements—up to 10 times faster than version 6.0—while maintaining identical type-checking semantics. It includes enhanced parallelism, refined JavaScript support, and improved VS Code editor performance, reflecting a major milestone in compiler efficiency.

Go: Support for Generic Methods

github.com · 27 May

Go · Programming Languages · Software Architecture

A proposal for Go suggests allowing type parameters on concrete methods.

Unlike interface methods, these generic methods would not need to satisfy interface requirements. This backward-compatible change simplifies code by letting methods accept parameters directly, mirroring existing generic function capabilities within the existing type system.

TinyGo 0.45.0 Released

github.com · 2 Dec

Go · Low-Level Programming · Programming Languages

TinyGo 0.45.0, its largest release with more than 560 commits since 0.44.0, now requires Go 1.26 or newer.

It substantially expands reflect with runtime type construction, callable functions and channels; Linux os uses posix_spawn and adds process controls. Compiler and runtime improvements speed builds and improve stack, heap and timer handling. Hardware support adds ESP32-P4, the cores scheduler on ESP32, PSRAM enhancements, watchdog and touch APIs, I2C fixes, and boards including Arduino Nano R4.

laravel/go

github.com · 2 Dec

Backend · Go · Laravel

Laravel Go is a full-stack web framework for building ambitious applications in Go.

It provides an integrated foundation for modern development, including fast routing, request validation, session and cache back ends, an expressive database ORM, database-agnostic migrations, background jobs, concurrent tasks, durable workflows, real-time event broadcasting, and Inertia frontend integration. Its distinguishing feature is the broad, cohesive Laravel-style toolkit for developing large, robust applications.

strelov1/freehire

github.com · 21 Oct

Career · Go

freehire is an MIT-licensed, self-hostable job search engine that aggregates and deduplicates 3.3M+ live IT postings from company career pages, ATS platforms, feeds, and Telegram channels.

It provides curated faceted search, a keyless HTTP API, CLI, digests, CV creation and matching, application tracking, an agent, and browser extension. Built with Go, PostgreSQL/pgvector, Meilisearch, SvelteKit, Redis, and standalone ingestion workers, it supports 320 sources across 124 ATS platforms.

AWS Adds support for nested virtualization

github.com · 12 Feb

AWS · Cloud Computing · Go

This release of the AWS SDK for Go v2 includes updates to the EC2 service and internal integration tests.

The changes involve automated updates to code files and changelogs, reflecting ongoing maintenance and version synchronization for the AWS infrastructure tooling within the Go ecosystem.

Lisette a little language inspired by Rust that compiles to Go

lisette.run · 5 Apr

Go · Programming Languages · Open Source

Lisette is a programming language designed for seamless interoperability with the Go ecosystem.

It features algebraic data types, pattern matching, immutable-by-default variables, and a Hindley-Milner type system. While syntactically inspired by Rust, Lisette compiles to readable Go, enforcing safety at compile time to eliminate nil pointer issues and ensure robust error handling.

One Hash Bloom Filters

calabro.io · 19 Oct

Algorithms · Backend · Go · Low-Level Programming · Performance

Bluesky adopted a one-hash Bloom filter (OHBF), implemented in Go as gloom, to reduce hashing overhead while preserving Bloom-filter behavior.

It partitions the bit array into pairwise-coprime sizes, derives positions from one hash, and uses cache-aligned 64-byte blocks so lookups need at most one cache miss. Atomic updates replaced mutexes, cutting deploy time from 90 to 15 minutes; sharding further reduces write contention. The filter has run in production for nine months and also powers jetstream.

Watching Go's new garbage collector move through the heap

theconsensus.dev · 25 Jul

Go · Performance · Software Architecture

Go 1.26 introduced the Green Tea garbage collector, which enhances cache efficiency by scanning memory spans rather than following individual pointers.

Unlike C#, Go's non-moving allocator can struggle with memory fragmentation and sparse pages. While Go offers high performance, developers must handle manual memory packing to fully reclaim space after large object cycles.

Show HN: Whosthere: A LAN discovery tool with a modern TUI, written in Go

github.com · 20 Aug

Go · TUI · Open Source

Whosthere is a modern Local Area Network discovery tool written in Golang, designed to provide a comprehensive view of devices on a network through an intuitive Terminal User Interface.

Unlike many network scanners, it operates without requiring elevated or root privileges by leveraging concurrent mDNS and SSDP scanners alongside ARP cache analysis. The tool enriches device data with OUI lookups for manufacturer identification and includes an integrated port scanner for service discovery. Additional features include a daemon mode with an HTTP API for integration, customizable YAML configuration, and a variety of themes. It currently supports macOS and Linux, offering a user-friendly way for administrators to monitor their local environments efficiently.

Show HN: I made a Clojure-like language in Go, boots in 7ms

github.com · 9 May

Go · Programming Languages · AI Agents

let-go is a fast, lightweight Clojure-dialect implemented in Go, featuring a 10MB binary and 7ms cold start.

It supports AOT compilation to standalone binaries, WASM web apps with terminal emulation, and provides seamless Go interop. It aims to offer idiomatic clojure development without being a drop-in replacement, including core.async, pods, and nREPL compatibility.

Where it came fromHacker NewsRedditLobstersGo BlogGitHubCreate a Go digest that follows backend, infrastructure, and cloud-native stories from the sources you trust.Build your digest