News for hackers. Stuff that matters.
Re:Go 1.21 will (probably) download newer toolchains on dema... by cratermoon on Saturday June 24, 2023 @04:44PM (#36462497)
> Come back to us when you are on version 3.x, years

Someone who has long enough experience in Go would know that the Go compatibility promise[1] only applies to Go 1. Go 2 and later are already allowed to break compatibility. I have code I wrote on something like 1.13, if not earlier and it still works fine with 1.20. Sure, there are rare exceptions, but each release documents them.

My question to you, then, is: what exactly did you see in your years of Go experience that broke on a version upgrade?

1 https://go.dev/doc/go1compat#introduction

Re:Go 1.21 will (probably) download newer toolchains on dema... by pjmlp on Sunday June 25, 2023 @05:00AM (#36466223)
Well, the introduction of new built-ins can bring some surprises into existing code that relies on the same names.