And we’re live! My zero dependency, ordered map package with a focus on ergonomics using generics iterators.
#golang
pkg.go.dev/go.treyburn....
Modernizers¶ The introduction of generics in Go 1.18 marked the end of an era of very few changes to the language spec and the start of a period of more rapid—though still careful—change, especially in the libraries. Many of the trivial loops that Go programmers routinely write, such as to gather the keys of a map into a slice, can now be conveniently expressed as a call to a generic function such as maps.Keys. Consequently these new features create many opportunities to simplify existing code. In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such as “always use the latest idioms of Go 1.25.” In some cases, even when explicitly told to use a feature, the model would deny that it existed. (See my 2025 GopherCon talk for more exasperating details.) To ensure that future models are trained on the latest idioms, we need to ensure that these idioms are reflected in the training data, which is to say the global corpus of open-source Go code. Over the past year, we have built dozens of analyzers to identify opportunities for modernization. Here are three examples of the fixes they suggest:
For languages with lots of regular improvements to best practices, LLMs tend to generate code that represents outdated ways to do things (simply because most code ”out there” will not be refactored yet).
So the go team proactively introduced static analysis […]
[Original post on mastodon.xyz]
Our Metal Bowl is coming to Xbox Series X/S on April 23! I had to adapt one of the puzzles and it actually turned out better than the Steam version :)
#xbox #indiegame #golang #ebitengine #pixelart
www.xbox.com/en-gb/games/...
While #golang has a decent amount of quirks, I actually quite enjoy programming in that language. I might write a blog post about the development some day, focusing on my thoughts on the Go language.
The game is not great by any means, but even though I'm not proud of the game itself, I'm proud that I was able to start and finish a "slightly bigger" (i.e. more than 5K lines of code) project in #golang.
It took over five months and almost 24,000 lines of #golang code, but I was finally able to finish my latest #metroidvania project.
Download on itch.io: itch.io: jani-nykanen.itch.io/a-dream-of-h...
Source code on #github: github.com/jani-nykanen...
#gamedev #indiedev #pixelart #opengl
The go run command starts the application as a sub-process, making the go command itself the parent process
#golang
Native GTK3 + WebKit2GTK desktop app for Ollama on Linux
#golang
github.com/johnohhh1/o...
Parsing 11 languages in pure Go without CGO: how I replaced regex with a tree-sitter runtime
#golang
dev.to/thegdsks/pa...
This morning I finally knocked out making the zero dependency, generic ordered map package I’ve always reached for but never found in #golang ecosystem. Finally made good use of the iter package too.
Hey, I recently updated my old tool; it now has a nice TUI and can be installed by Homebrew. github.com/asvid/Remote...
It allows you to see logs on the release build of the Android app and send them via WebSocket to the terminal app.
#android #tool #mobile #AndroidDev #golang
I was looking back at the work I did on my "maybe" tool last year, and it is actually pretty cool. #golang #maybe https://github.com/pymander/maybe
I recently write more Go lang than anything else. I just wanted to share two resources that I recently found particularly helpful and interesting.
Redowan Delowar’s blog:
rednafi.com
@rednafi.com
Fallthrough podcast:
fallthrough.transistor.fm
@skriptble.me @matthewsanabria.dev
#go #golang
go gc pauses over the past week
"Go has GC pauses", oh no think of the μs saved! #golang #coding #programming
#golang > Release v0.23.1 · hymkor/go-multiline-ny
github.com/hymkor/go-multiline-ny/r...
CRITICAL: patrickhener goshs <2.0.0-beta.4 lets unauth users upload, delete, and bypass folder auth! Upgrade to 2.0.0-beta.4+ ASAP. Restrict access until fixed. radar.offseq.com/threat/cve-2026-40189-cw... #OffSeq #CVE202640189 #GoLang
#golang > Release v1.14.3 · nyaosorg/go-readline-ny
github.com/nyaosorg/go-readline-ny/...
Issue 596 of the Golang Weekly newsletter mentions the v1 release of github.com/jub0bs/cors. Nice! #golang
golangweekly.com/issues/596
Go Bitwise Flags and Bitmasks: Configuration Pattern Guide
#golang
iampavel.dev/blog/go-bit...
A Go framework for building MCP servers. Your struct tags are your schema.
#golang
github.com/AKhilRaghav...
I've been playing around with a new fractal. Tomorrow I'll try animating it with a fragment shader. #fractal #golang
86mb rss
100k requests
p95/p99 response time
"Go isnt good with memory", "Go cant handle web traffic", "Go is too slow". ????
#golang #coding #programming #webdev
Log is the simplest possible data structure for recording events.
The index files is why reads are O(1), you jump straight to the byte position, no scanning again from start every time a request is made.
Read the log structure underneath
#distributedsystems #golang #buildinpublic
I managed to get the live migration functionality working for virtual machines. I had to speed up the video to fit in a 3m window. This project is written in Go, uses QEMU/KVM, and I deploy it to all my bare metals.
#homelab #selfhosted #technology #virtualization #kvm #golang #indiedev #linux
I love comprehending concepts through simplest analogies and not a fan of big words. If you've been confused by interfaces in Go, this one's for you. An old post, but it sure breaks the complexity with a silly analogy.
Enjoy: ashwiniag.com/interfaces-i...
#golang #go #programming #learninpublic
In the hindsight the flow looks as
#golang #distributedsystems #learninpublic #protobuf
10K, 1M.. or more active SSE streams Building MCPSprut ( MCP Hub )
How I built an MCP hub designed to hold as many SSE streams as a single machine can handle
#golang
ernest-khas.hashnode.dev/part-1-10k-...
An interesting article about "Avoiding supply chain attacks in Go"
#golang
eltonminetto.dev/en/post/202...
yogthos.net/posts/2026-0... this is so damn cool! I had Claude port this to a native #golang toolchain, skipping tree sitter and prolog. Still evaluating but it cuts down time to research code considerably