Iterators in Go

The iterator proposal is a neat way to write “lazy loops”, where we never generate more results than we actually use. Let’s see what that would look like in Go programs.

Anemic stack traces in Go

While I like Go’s approach of treating errors as values as much as the next person, it inevitably leads to a situation where there isn’t a one-size-fits-all strategy for error handling like in Python or JavaScript. The usual way of dealing with errors entails returnin...

Anemic stack traces in Go

While I like Go’s approach of treating errors as values as much as the next person, it inevitably leads to a situation where there isn’t a one-size-fits-all strategy for error handling like in Python or JavaScript. The usual way of dealing with errors entails returnin...

Anemic stack traces in Go

While I like Go’s approach of treating errors as values as much as the next person, it inevitably leads to a situation where there isn’t a one-size-fits-all strategy for error handling like in Python or JavaScript. The usual way of dealing with errors entails returnin...

Anemic stack traces in Go

While I like Go’s approach of treating errors as values as much as the next person, it inevitably leads to a situation where there isn’t a one-size-fits-all strategy for error handling like in Python or JavaScript. The usual way of dealing with errors entails returnin...

What’s new in Go 1.22? Podcast

I was on episode 302 of the Go Time podcast, talking about What’s New in Go 1.22. Check it out!

Go 1.21.7-1 and 1.20.14-1 Microsoft builds now available

The Microsoft builds of the Go patches released today, Feb 6, are now available for download. The post Go 1.21.7-1 and 1.20.14-1 Microsoft builds now available appeared first on Microsoft for Go Developers.

Go 1.22 is released!

Go 1.22 enhances for loops, brings new standard library functionality and improves performance.

'I don't scoff at 2% improvements'

#​494 — February 6, 2024 Unsub  |  Web Version Go Weekly Testing Out Profile-Guided Optimization on Dolt's SQL Benchmarks — Profile-guided optimization was introduced in Go 1.20. The Dolters(?) created a benchmark and saw small (t...

Announcing GoReleaser v1.24 - the first of 2024

Happy new year! The first release of 2024 is here! Highlights security: goreleaser would log environment variables in some configurations when run with --verbose. Note that we only recommend using the --verbose flag locally, to debug possible issues. CVE-2024-23840 new: create...