Advertisement · 728 × 90

Posts by thepudds

Video

A new Git version just dropped and it comes with a new experimental `history` command!

`reword` can be used to change commit messages and `split` can untangle a single commit into multiple ones.

No more interactive rebase. 🎉

github.blog/open-source/...

8 hours ago 127 21 6 3

My guess was Brad's enthusiasm for talking about Unicode encoding & modifiers while at the dermatologist had circulated within the PNW dermatologist community...

But no 😅

6 days ago 0 0 0 0

Go’s push iterators can be strange at first but they are so much easier to write when the algorithm to visit the elements has nontrivial control flow (recursion or conditionals) such as for a tree; you just call yield. In Java/C++ one must explicitly materialize all state implied by your SP and PC.

1 week ago 6 2 1 0
GitHub Stacked PRs Break large changes into small, reviewable, stacked pull requests with first-class GitHub support.

Stacked PRs in GitHub! I never thought I would see the day 😲 github.github.com/gh-stack/

1 week ago 25 7 2 2
Building Go APIs with Huma, sqlc, and Goose - Blain Smith

Building Go APIs with Huma, sqlc, and Goose

blainsmith.com/articles/bui...

#GoLang #SQL ##OpenAPI #huma #sqlc #goose #codegen

1 week ago 2 1 0 0
proposal: spec: type inferred composite literals · Issue #12854 · golang/go Composite literals construct values for structs, arrays, slices, and maps. They consist of a type followed by a brace-bound list of elements. e.g., x := []string{"a", "b", "c"} I propose adding unt...

Holy cheese my untyped composite literal proposal from 2015 just got accepted. #golang github.com/golang/go/is...

1 week ago 30 4 4 0

A Fast Immutable Map in Go lemire.me/blog/2026/03/29/a-fast-i...

3 weeks ago 20 4 0 0

Have you seen exe.dev yet?

It seems well done.

The VMs are locked down to you by default, but with some convenient sharing options. (Started by one of the co-founders of Tailscale).

exe.dev/docs/sharing

3 weeks ago 2 0 1 0
Preview
Solod: Go can be a better C A subset of Go that transpiles to regular C, with zero runtime.

Could Go be a better C? I think so!

Meet Solod — a strict subset of Go that translates to C, without hidden memory allocations and with source-level interop.

antonz.org/solod

1 month ago 18 2 0 0
Preview
“This Is Not The Computer For You” · Sam Henri Gold Sam Henri Gold is a product design engineer building playful, useful software.

This is the best product review I’ve read: samhenri.gold/blog/2026031...

It doesn’t matter if you’re interested in the MacBook Neo or not; this is the kind of essay that makes you think about the potential of technology and the joys of exploration.

1 month ago 1842 632 35 146
Advertisement

A great example of how the Google #golang team put thousands of lines of ultra-technical code in service of an incredibly easy-to-use and useful tool. If you ever deprecate code, you really should know about the go:inline directive!

1 month ago 38 10 0 0
Preview
//go:fix inline and the source-level inliner - The Go Programming Language How Go 1.26's source-level inliner works, and how it can help you with self-service API migrations.

Find out how the source-level inliner in Go 1.26 can help you with API migrations.
go.dev/blog/inliner

1 month ago 55 13 1 1
Post image

I've spent the past couple months hand crafting a new B-tree map implementation for Go. It's fast. Faster than Rust's BTreeMap. Faster than the fastest C++ (frozenca/btree). And about 2x faster than my current Go btree (tidwall/btree).

1 month ago 106 6 6 0
Preview
Release v3.13.0 · mvdan/sh This release introduces support for Zsh in the parser and formatter, which was tracked in issue #120 alongside the label zsh . While support is not complete, it should be far enough for many u...

I've just released a new version of the "sh" #golang module, including initial Zsh support in shfmt, as well as many improvements and fixes to the parser and interpreter 🎉

1 month ago 19 5 0 0
Preview
proposal: cmd/go: only set vcs.modified=true if changes are relevant to build · Issue #77897 · golang/go Proposal Details If I run 'go build' in a repo with a random extra file that doesn't matter to the build, the runtime build info in the binary says vcs.modified=true and the main module path has a ...

Finally! No more "dirty" #golang builds because you have untracked files laying around which don't affect the build at all :)

1 month ago 16 3 0 0
Post image

Got an idea buzzing in that brilliant gopher brain of yours? 🧠

Don’t keep it in the lab; share it with the #golang community! 🧪

#GopherCon Call for Speakers closes March 4th.

Submit your proposal ➡️ sessionize.com/gophercon-20...

#RoadToGopherCon

1 month ago 2 2 0 0

(Many of the problems flagged by gopls also come from go vet, and the core Go team maintains an additional set of excellent code analyzers that are also used by gopls, but Dominik's Staticcheck is much broader than either of those.)

2 months ago 3 0 0 0

Small #golang PSA:

Most of the very nice automatic code problem reports in your editor or IDE come from Staticcheck by Dominik Honnef (@honnef.co).

gopls is the LSP, and it uses many of the rules from Staticcheck.

Suggestion: consider sponsoring Dominik! (Well worth it in my humble opinion😅)

2 months ago 15 2 2 0

I'm putting the finishing touches on the Staticcheck update for #golang 1.26. You can expect a release by the end of the week.

2 months ago 29 4 1 1

Some pretty awesome improvements in 1.26 for compiling/testing typescript-go.

With a clean build/test cache, running the full test suite used to take 3m45s, but now takes just 2m10s.

2 months ago 63 5 2 0
Advertisement
Preview
Go 1.26 interactive tour New with expressions, type-safe error checking, and faster everything.

Go 1.26 is out, and the announcement says:

"Over the next few weeks, follow-up blog posts will cover some of the topics in more detail. Check back later."

So you can wait a few weeks OR you can read my interactive Go 1.26 tour right away:

antonz.org/go-1-26

2 months ago 52 14 1 0
Post image

With Go 1.26, you can easily log to multiple targets (like stdout, a file, or a remote server) using just the standard library.

All thanks to slog.MultiHandler, which sends log records to any number of handlers you configure.

2 months ago 32 5 0 0

I think some @tangled.org folks are at FOSDEM if you want to talk to them about stacked reviews use case and comparison with Gerrit.

Maybe you could help ever-so-slightly nudge the industry forward on the goodness of Gerrit. 🤞

(And maybe in parallel you can nerd snipe them into using some CUE 😅)

2 months ago 3 0 1 0
proposal: testing/nettest: in-memory implementations of net package interfaces · Issue #77362 · golang/go This is a proposal to add in-memory implementations of net.Listener, net.Conn, and net.PacketConn to the standard library. Motivation The net package defines abstract interfaces describing stream a...

@rog.bsky.social this sounds perfect for testing servers locally, especially with synctest 😊

github.com/golang/go/is...

2 months ago 20 3 1 0

This is a fun writeup of using C to implement #golang interfaces (or maybe Rust traits), complete with editable C you can run via your browser.

It pairs nicely with the classic post on the Go interface implementation by @swtch.com from 16 (!) years ago:

research.swtch.com/interfaces

2 months ago 4 0 1 0
research!rsc: Floating-Point Printing and Parsing Can Be Simple And Fast (Floating Point Formatting, Part 3)

“Floating-Point Printing and Parsing Can Be Simple And Fast”

The fastest known floating-point printer and parsing algorithms - fixed-width printing, shortest-width printing, and parsing, all in 400 lines of Go.

research.swtch.com/fp
research.swtch.com/fp-proof

3 months ago 76 15 1 2

Maybe you were thinking of this from earlier this week?

bsky.app/profile/apen...

3 months ago 1 0 1 0
cmd/go: creating v2+ modules has lower success rate than it could · Issue #31543 · golang/go What version of Go are you using (go version)? go 1.12.4 Does this issue reproduce with the latest release? Yes, including tip. What did you do? Observed many problems in go.mod files for repositor...

And to be clear, that's not some backhanded complaint. 😅

I'm glad folks in academia study FOSS ecosystems, which seems like a treasure trove of interesting research questions, and they cleanly cited everything.

The two main issues I think were:

go.dev/issue/31543

go.dev/issue/32695

3 months ago 1 0 1 0
Preview
Hero: On the Chaos When PATH Meets Modules Ever since its first release in 2009, the Go programming language (Golang) has been well received by software communities. A major reason for its success is the powerful support of library-based devel...

There's also this 2021 paper:

arxiv.org/abs/2102.12105

It's more specific to some Go modules transition pains

(For me, reading that paper felt odd because I kept saying "huh, I recognize that example" and then slowly realized large portion of the paper was based on ~3 GitHub issues I had filed 😅)

3 months ago 2 0 1 0

@michael.express and @prattmic.com, you'll likely be pleased to see this 🚀

3 months ago 0 0 0 0
Advertisement