---
title: "Ways to dramatically reduce Go binary size"
publication: "Go Weekly"
issue: 591
published_at: "2026-02-27"
canonical_url: "https://golangweekly.com/issues/591"
---

Plus Bubble Tea gets a new renderer, generic methods are coming to Go, and find out why certain processes are running on your machine.       

#​591 — February 27, 2026 

[Read the Web Version](https://golangweekly.com/issues/591)  

Together with [![Frontend Masters logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_300,h_70/e_make_transparent/co_white,e_outline:5/nk0tfdvalivacz8rw7rt.png)](https://frontendmasters.com/courses/cloud-infrastructure/?utm_source=email&utm_medium=golangweekly&utm_content=cloudinf)   

Go Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/yb0vyp9xxbzqjloccszh.jpg)](https://charm.land/blog/v2/)  

[Bubble Tea, Lip Gloss, and Bubbles v2](https://charm.land/blog/v2/) — The Charm ecosystem of TUI tooling has taken a synchronized leap up to version 2. [Bubble Tea v2](https://github.com/charmbracelet/bubbletea/releases/tag/v2.0.0) includes the ‘Cursed Renderer’, an all-new, faster and more efficient renderer that will also benefit [Wish](https://github.com/charmbracelet/wish) users. [Lip Gloss 2.0](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0) brings yet more style to your TUIs, and [Bubbles 2.0](https://github.com/charmbracelet/bubbles/releases/tag/v2.0.0) gets a DX overhaul, particularly in its color API. If you’re a TUI developer, you really are _charmed_ this week. 

Christian Rocha (Charm)   

💡 [Upgrade guides are available](https://github.com/charmbracelet/bubbletea/blob/main/UPGRADE_GUIDE_V2.md) for those making the move from v1 to v2.  [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/0b55c5f4.png)](https://frontendmasters.com/courses/cloud-infrastructure/?utm_source=email&utm_medium=golangweekly&utm_content=cloudinf) 

[Go App: Cloud Infrastructure from Startup to Scale](https://frontendmasters.com/courses/cloud-infrastructure/?utm_source=email&utm_medium=golangweekly&utm_content=cloudinf) — Deploy and scale a real Go app on AWS. Start fast with containers and App Runner, then grow into CI/CD, Terraform, ECS, and production-ready infrastructure. 

Frontend Masters sponsor   

[How Datadog Reduced the Size of Its Go Binaries by Up to 77%](https://www.datadoghq.com/blog/engineering/agent-go-binaries/) — A valuable walkthrough of three Go-specific techniques: import graph pruning, re-enabling method dead code elimination, and a surprising linker quirk triggered by the `plugin` package. This post is packed with things worth knowing about. 

Pierre Gimalac (Datadog)   

**IN BRIEF:** 

- The proposal for adding generic methods to Go [has now been officially accepted.](https://github.com/golang/go/issues/77273#issuecomment-3962618141)
- [Go 1.26.1 and 1.25.8 have been pre-announced](https://groups.google.com/g/golang-announce/c/qbkuaO2xasI) and are due to be released next Tuesday, March 3, including fixes for four security vulnerabilities.
- JetBrains has released [a set of 'modern Go guidelines'](https://github.com/JetBrains/go-modern-guidelines/blob/main/claude/modern-go-guidelines/skills/use-modern-go/SKILL.md) for coding agents to use ([explained here](https://blog.jetbrains.com/go/2026/02/20/write-modern-go-code-with-junie-and-claude-code/)), but you can just as easily read them for yourself.
- [wasm2go](https://github.com/ncruces/wasm2go) is an experiment to create a WebAssembly to Go transpiler.   

[Turn Dependabot Off](https://words.filippo.io/dependabot/) — Alert fatigue is real, so you want your tools to produce informative, actionable notifications. For Go in particular, Filipo suggests replacing GitHub’s Dependabot with another vulnerability scanner that provides proper filtering and less noise. 

Filippo Valsorda   

[How Netflix Improved Reliability with Go and Temporal](https://temporal.io/resources/case-studies/netflix-increases-developer-productivity?utm_source=newsletter&utm_medium=sponsorship&utm_campaign=newsletter-2026-02-27-go&utm_content=go-netflix-case-study) — Read the case study on how Netflix replaced complex orchestration with code-first workflows using Temporal. 

Temporal Technologies sponsor   

📄 [Understanding the Go Runtime: The Memory Allocator](https://internals-for-interns.com/posts/go-memory-allocator/) Jesús Espino 

📄 [No Temporary Variables Needed for Pointers in Go 1.26](https://pawelgrzybek.com/no-temp-variables-needed-for-pointers-in-go-1-26/) – Thanks to `new(expr)` Paweł Grzybek 

📄 [What Canceled my Go Context?](https://rednafi.com/go/context-cancellation-cause/) Redowan Delowar  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/bxclzvyqfkjua8vnzmxf.jpg)](https://github.com/pranshuparmar/witr)  

[witr (Why Is This Running?)](https://github.com/pranshuparmar/witr) — A fantastic tool to help you figure out how and _why_ a process is running on your system. You can specify a process name, PID, or even just a TCP port and see what’s going on, or enter a TUI mode that lets you browse all your running processes. 

Pranshu Parmar   

[gotreesitter: A Pure Go Tree-sitter Runtime](https://github.com/odvcencio/gotreesitter) — [Tree-sitter](https://tree-sitter.github.io/tree-sitter/) is a widely used parser generator and incremental parsing library. gotreesitter, a pure Go port, loads the same parse table format that Tree-sitter’s C runtime uses and supports 209 grammars out of the box. 

Oscar Villavicencio   

[Fault: HTTP Middleware to Inject Faults into a Service](https://github.com/lingrino/go-fault) — Standard Go HTTP middleware to reject incoming requests, respond with errors, add latency, etc. as a way for testing failure scenarios. 

Sean Lingren   

[finish: Add Graceful Shutdowns to Go's HTTP Server](https://github.com/pseidemann/finish) — Uses `http.Server`’s `Shutdown` method, is customizable (signals, logging, timeouts), and can handle multiple servers. Last mentioned seven years ago(!) but it’s just been updated for Go 1.18+. 

Paul Seidemann      

📰 Classifieds   

[Software Engineer](https://jobs.ashbyhq.com/stickermule/6db27241-e2d4-4f35-a2c4-b58d84621843?utm_source=Cooperpress) - Join our "kick ass" team! Our software team operates from 17 countries and we're looking for more exceptional engineers to join our team.      

- [purego 0.10](https://github.com/ebitengine/purego/releases/tag/v0.10.0) – Call C functions _without_ cgo. Now supports more architectures.
- 🤖 [Crush 0.46](https://github.com/charmbracelet/crush/releases/tag/v0.46.0) – Charm's TUI-based AI coding assistant adds Sonnet 4.6.
- [graphql-go 1.9](https://github.com/graph-gophers/graphql-go) – Standards compliant GraphQL library and server.
- 📊 [go-echarts 2.7](https://github.com/go-echarts/go-echarts) – [ECharts](https://echarts.apache.org/en/index.html)-powered chart generation library.
- [go-git 5.17](https://github.com/go-git/go-git) – Git implementation written in pure Go.
- [Tempest 1.6](https://github.com/amatsagu/tempest) – Create fast apps for Discord with Go.
- [Sarama 1.47](https://github.com/IBM/sarama) – Go client library for Apache Kafka.
- [GoReleaser 2.14](https://goreleaser.com/blog/goreleaser-v2.14/)  

📢 Elsewhere in the ecosystem 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/rbha5pq1kzhzsqudic9k.jpg)](https://eieio.games/blog/secure-massively-multiplayer-snake/)  

- `ssh snakes.run` will dump you into a live, multiplayer snake game at the terminal, and it's built using Go, Wish, and Bubble Tea. [This post explains how it works and was put together](https://eieio.games/blog/secure-massively-multiplayer-snake/), including a look into optimizations made to reduce the bandwidth required to service a large number of players.
- Andrew Nesbitt shares [some useful pointers on Git's 'magic' files](https://nesbitt.io/2026/02/05/git-magic-files.html) including `.gitignore`, `.gitmessage`, and other files that affect Git's behavior.
- 🕹️ I enjoyed watching [▶️ a developer explain how he created a Quake 2-style FPS in 64 kilobytes](https://www.youtube.com/watch?v=qht68vFaa1M). If you'd rather _play_ it, [it's here](https://daivuk.itch.io/quod) (Windows only).
- GitHub's CodeQL static analysis engine [has added Go 1.26 support.](https://github.blog/changelog/2026-02-24-codeql-adds-go-1-26-and-kotlin-2-3-10-support-and-improves-query-accuracy/)
- [A list of little, fun programming languages.](https://taylor.town/scrapscript-000)         

Curated by Peter Cooper and [Glenn Goodrich](https://twitter.com/ruprict).
Go is a [trademark of Google](https://go.dev/brand).
The [Go gopher](https://go.dev/blog/gopher), whenever used, is an original creation by Renée French. 

[Change your email](https://golangweekly.com/edit_subscription/*|UID|*)
[Stop getting this newsletter](https://golangweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
