News for hackers. Stuff that matters.
Re:Stop picking my Go version for me by dherls on Saturday March 28, 2026 @08:52PM (#47559468)
The author fails to mention any of the negative effects they experience due to this go version selection. They say that the effect is "viral" but don't give any concrete examples of why it's a bad thing to keep your toolchain up to date
Re:Stop picking my Go version for me by PaulKeeble on Saturday March 28, 2026 @09:02PM (#47559524)
One of the key advantages of Go is its very compatible, you can compile and run early versioned code on the latest compiler without concern and it will just run with less bugs and faster due to all the advancements over time. I don't like being forced to upgrade my tooling until I choose the upgrade but in Go's case its usually trivial.
Re:Stop picking my Go version for me by WhyNotHugo on Saturday March 28, 2026 @10:23PM (#47559904)
Anyone with an older toolchain can’t build that library of anything that depends on it.

Some environments might not even have the newer version available.

Re:Stop picking my Go version for me by jmalicki on Saturday March 28, 2026 @10:38PM (#47559958)
Anyone with an older toolchain is free to fork it on github, test with the older version, and CI to the project that tests with the older version, and submit a patch, too!

This may not get the project as many users, but not everyone who writes a 50 line project is trying to figure out which versions it supports and setting up full test matrices either.

Re:Stop picking my Go version for me by mid-kid on Sunday March 29, 2026 @05:38PM (#47567618)
Not a Go dev, but I typically set up a CI with the oldest toolchains I support (usually a debian release), and only bump those versions when I really need something from the latest versions. Locally I build with the most recent tools. This ensures good enough coverage for very little work, as I notice when I start using something that's newer and can bump the toolchain accordingly.
Re:Stop picking my Go version for me by jmalicki on Sunday March 29, 2026 @07:39PM (#47568650)
Sure, but if you start a new small project and throw it on GitHub, it's not totally insane to just put the version you tested. Just because someone put up their tiny library doesn't mean they've put in the effort to figure out which version they need.
Re:Stop picking my Go version for me by WhyNotHugo on Monday March 30, 2026 @01:55AM (#47570862)
Are you sure you replied to the right comment? I'm not sure how this relates to the question being asked.
Re:Stop picking my Go version for me by jmalicki on Monday March 30, 2026 @10:08AM (#47574587)
I did.

If you have an older tool chain, it is on you to fix the library to build with the older tool chain, that's what open source is about!

Re:Stop picking my Go version for me by WhyNotHugo on Thursday April 02, 2026 @07:44AM (#47613120)
Sorry, I have no idea what you're talking about. Please double check the message thread to which you're replying.
Re:Stop picking my Go version for me by canpan on Saturday March 28, 2026 @09:13PM (#47559567)
I am missing this part too. I can't really say ever having a problem upgrading go to the latest version. Now with "go fix", a lot of features are even improved automatically.
Re:Stop picking my Go version for me by bkdbkd on Sunday March 29, 2026 @01:51AM (#47560707)
It forces a change, where none is called for. Compatibility works both ways. What doesn't matter to me the lib dev, may for matter for someone else. The world is built on portable, flexible code, and pinning to something unnecessarily, breaks that one small part of the world. It's adding an unnecessary requirement. Life is hard enough.