#549 — April 9, 2025 |
|
Go Weekly |
![]() |
Faster Shuffling in Go with Batching — Put down that deck of cards.. ‘shuffling’ here refers to moving the contents of an array about. It is based on expensive random integer generation. Here, Daniel offers up a couple of algorithms that speed things up by 2-3X compared to Go’s standard Fisher-Yates shuffle. Daniel Lemire |
More Predictable Benchmarking with Junyang Shao |
![]() Does Your Postgres Database Feel Like a Black Box? — Are you prepared for the next high-traffic event? Join us April 16 to explore pganalyze features that tune slow queries, catch regressions, and keep Postgres running at its best. pganalyze sponsor |
IN BRIEF:
|
Life as a Go Developer on Windows — Go officially supports Windows as a first-class platform, but supporting a product across numerous operating systems still requires some work. For Windows that means juggling WSL quirks, file system oddities, toolchains, and platform-specific code. Zach Musgrave (DoltHub) |
Porting Tailscale to Plan 9 — A fun story from former Go core team member Brad Fitzpatrick on Tailscale’s April Fools’ Day project to port Tailscale to Bell Labs’ 1980s Plan 9 OS. It was no joke, though, and actually works, despite the Go compiler’s support for Plan 9 having some “bitrot.” Brad Fitzpatrick |
💰 In other Tailscale news, Tailscale has just raised $160m. |
📄 Five Interesting Go Web Frameworks – A quick look at Gin, Echo, Fiber, Beego and Buffalo, and their key use cases, as well as a little bonus item.. Jeffrey Morhous 📄 Go’s Best-Kept Secret: Executable Examples John Arundel |
🛠 Code & Tools |
![]() |
Chroma 2.16: Pure Go Syntax Highlighting — Take source code and turn it into syntax highlighted HTML, ANSI colored text, or just grab the raw tokens in JSON. Brings most of the features of Pygments to Go and can use Pygments’ lexers and styles too. There’s an online playground where you can try it out. Alec Thomas |
Go Panicked Again? Yeah, Sentry Saw It—and Kept the Receipts — Goroutines are great—until one quietly dies. Sentry catches panics, traces them back, and gives you full context. 👉 Try it free before your next deploy gets weird. Sentry sponsor |
GitHub MCP Server: GitHub's Official MCP Server — As the Model Context Protocol continues to move toward industry-standard status for giving AI agents more powers to interact with things outside their usual sandbox, GitHub has released its official server, which you can integrate with VS Code and Claude Desktop. It supports loads of tools for issues, PRs, repos, and more. GitHub |
go-i18n 2.6: Translate Your Go Program Into Multiple Languages — A package and tool for translating Go programs into different (natural) languages. v2.6 now requires Go 1.23+. Nick Snyder |
Genanki: A Go Library for Generating Anki Decks — Anki is a popular tool for flashcard, spaced attention style learning. Mykyta Kysil |
|