Announcement

Collapse
No announcement yet.

Go 1.20 Released With Preview PGO Support, CPU Architecture Feature Build Flags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Go 1.20 Released With Preview PGO Support, CPU Architecture Feature Build Flags

    Phoronix: Go 1.20 Released With Preview PGO Support, CPU Architecture Feature Build Flags

    Google has released a new version of the Go programming language that with today's v1.20 release come a number of notable additions as well as gutting out support for older versions of Microsoft Windows and Apple macOS. Two features alone have me excited about Go 1.20: initial work on CPU architecture feature build flags like for x86_64 micro-architecture feature level handling and initial support for Profile Guided Optimizations (PGO) builds...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    On Linux the linker now selects the dynamic interpreter for glibc or musl at link-time
    I would have to look into this. Previously, you couldn't compile your program and run it on Alpine, since Alpine only comes with musl. You had to add glibc first. Maybe this change makes that unnecessary.

    Edit: And what do you know? It works now without having to add glibc to the image!
    Last edited by bug77; 03 February 2023, 07:28 PM.

    Comment

    Working...
    X