More predictable benchmarking with testing.B.Loop

Better benchmark looping in Go 1.24.

Go 1.24.2-1 and 1.23.8-1 Microsoft builds now available

A new release of the Microsoft build of Go including security fixes is now available for download. The post Go 1.24.2-1 and 1.23.8-1 Microsoft builds now available appeared first on Microsoft for Go Developers.

Summary of reading: January - March 2025

"The Birth of Britain: A History of the English Speaking Peoples, Volume I" by Winston Churchill - yes, that Churchill :) While it was started in the 1930s, the writing of this 4-volume history of Britain and its former colonites was interrupted by WWII and Churchill's...

Deferred teardown closure in Go testing

While watching Mitchell Hashimoto’s excellent talk on Go testing, I came across this neat technique for deferring teardown to the caller. Let’s say you have a helper function in a test that needs to perform some cleanup afterward. You can’t run the teardown insi...

Deferred teardown closure in Go testing

While watching Mitchell Hashimoto’s excellent talk on Go testing, I came across this neat technique for deferring teardown to the caller. Let’s say you have a helper function in a test that needs to perform some cleanup afterward. You can’t run the teardown insi...

Deferred teardown closure in Go testing

Return teardown closures from test helpers to manage cleanup elegantly. Learn patterns for temp files, mock servers, and t.Cleanup() usage.

Notes on implementing Attention

Some notes on implementing attention blocks in pure Python + Numpy. The focus here is on the exact implementation in code, explaining all the shapes throughout the process. The motivation for why attention works is not covered here too deeply - there are plenty of excellent onlin...

How and why PlanetScale built a VM in Go

#​547 — March 26, 2025 Unsub  |  Web Version Go Weekly Go on the PlayStation 2 — If you like tinkering with consoles and shoe-horning Go into new (or old?) environments, this post is for you. It involves TinyGo, C, and a lot of t...

Goodbye core types - Hello Go as we know and love it!

Go 1.25 simplifies the language spec by removing the notion of core types

Things fall apart: handling errors in Rust programs

The night is dark and full of errors—and durable Rust software is not only ready for them, but handles them sensibly. Let’s see how, by returning to our line-counter project.