Go programmers have it pretty good with the benchmarking capabilities provided
by the standard library. Say we want to benchmark a dot product
implementation:
func dotProduct(a, b []float32) float32 {
var dot float32
for i := range a {
dot += a[i] * b[i]
}
return dot...
Last week I was invited to join the wonderful Fallthrough podcast as a guest host, on a more time sensitive episode discussing the recent backdoor discovered in the Go module proxy, and the episode has just shipped, with a very good title!
This was actually my second episode with...
Not all bugs are created equal. Some may be easy to pinpoint and eliminate with the help of a debugger. Others might be subtle or infrequent, and tracking them down is like searching for a needle in a haystack. Choosing the right debugging technique can significantly raise the ch...
A new release of the Microsoft build of Go is now available for download.
The post Go 1.24.0-1 Microsoft build now available appeared first on Microsoft for Go Developers.
Go 1.24 enhances WebAssembly capabilities with function export and reactor mode
After publishing Go 1.24's go tool is one of the best additions to the ecosystem in years a couple of weeks ago, a few commenters pointed me to the other massive thing that was coming in the Go 1.24 release: the omitzero JSON struct tag, and I was pretty gutted to realise I'd mis...
A new release of the Microsoft build of Go including security fixes is now available for download.
The post Go 1.23.6-2 and 1.22.12-2 Microsoft builds now available appeared first on Microsoft for Go Developers.
#542 — February 12, 2025
Unsub | Web Version
🏖️ We're taking next week off, so the next issue will be on Wednesday, February 26. Feel free to hit reply and send in any submissions!__Peter Cooper, your editor.
Go Weekly
Go...
Go 1.24 brings generic type aliases, map performance improvements, FIPS 140 compliance and more.
Although first introduced in 2014, the Context package remains a crucial component of Go programming, enabling efficient management of request-scoped data, deadlines, and cancellation signals. As the Go ecosystem continues to evolve, understanding the Context package’s sema...