Go 1.20, an upgrade to the Google-developed open-source language has arrived in a production release.
Profile-guided optimization (PGO) for the compiler is being previewed in the new version. Go 1.20, which was released on February 1, can be downloaded from go.dev. With Go 1.20, the compiler toolchain can carry out application- and workload-specific optimizations based on runtime profile data thanks to preview support for PGO.
PGO, also referred to as feedback-directed optimization, is a technique where the compiler for the subsequent build of the application feeds information (a profile) from representative runs of the application back to the compiler, which uses that information to make better optimization decisions.
Read More: Go 1.20 previews profile-guided optimization