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...

Discussing Forth, C, CGI, Python, Go, and AWK on "Stray Pointers"

This is a transcription of Jim Lawless's interview with Ben Hoyt on his Stray Pointers podcast. We discuss Forth, C, CGI, Python, Go, and AWK.

Retry function in Go

I used reach for reflection whenever I needed a Retry function in Go. It’s fun to write, but gets messy quite quickly. Here’s a rudimentary Retry function that does the following: It takes in another function that accepts arbitrary arguments. Then tries to execute th...

Retry function in Go

I used reach for reflection whenever I needed a Retry function in Go. It’s fun to write, but gets messy quite quickly. Here’s a rudimentary Retry function that does the following: It takes in another function that accepts arbitrary arguments. Then tries to execute th...