Russ Cox's profile photo

Russ Cox

Articles

  • Nov 11, 2023 | go.dev | Russ Cox

    Today we celebrate the fourteenth birthday of the Go open source release!Go has had a great year, with two feature-filled releases and other important milestones. We released Go 1.20 in Februaryand Go 1.21 in August,focusing more on implementation improvementsthan new language changes. Profile-guided optimization (PGO),previewed in Go 1.20andreleased in Go 1.21,allows the Go compiler to read a profile of your programand then spend more time optimizing the partsof your program that run most often.

  • Sep 19, 2023 | go.dev | David Chase |Russ Cox

    Go 1.21 includes a preview of a change to for loop scopingthat we plan to ship in Go 1.22,removing one the most common Go mistakes. The ProblemIf you’ve written any amount of Go code, you’ve probably made the mistakeof keeping a reference to a loop variable past the end of its iteration,at which point it takes on a new value that you didn’t want.

  • Aug 14, 2023 | go.dev | Russ Cox

    Go 1.21 includes new features to improve compatibility. Before you stop reading, I know that sounds boring. But boring can be good. Back in the early days of Go 1,Go was exciting and full of surprises. Each week we cut a new snapshot releaseand everyone got to roll the diceto see what we’d changedand how their programs would break. We released Go 1 and its compatibility promiseto remove the excitement,so that new releases of Go would be boring. Boring is good. Boring is stable.

Contact details

Socials & Sites

Try JournoFinder For Free

Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.

Start Your 7-Day Free Trial →