Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Adding simd in std and even being used in map is nice. Would have to look for places to experiment with it in hot loops in code I have.
  • >The quieter but bigger change

    I really wish they didn't use such stupid LLM-isms.

  • Those Generics syntax in Golang seems so hard to read.
  • Go's standard library has always been it's strength, especially the crypto package! Lovely stuff.
  • Automatically draining http response bodies is a risky silent behaviour change. I think it will be an improvement for most applications, but it's very subtle if you were relying on the old behaviour
  • This release also fixes runtime.findnull() to be compatible with MTE on Android ([1] and [2]). This was the only thing preventing MTE from being enabled for apps that use gomobile on MTE-compatible Android OS's like GrapheneOS.

    [1] https://go-review.googlesource.com/c/go/+/749062

    [2] https://go-review.googlesource.com/c/go/+/751020

  • "The best way to teach something new is to compare it to something the audience already understands."

    Could someone take the example, reduce it to a non-generic version for two types I DO understand, then show that with the new feature I can collapse them into the Box/Map example in the doc?

    I have 10+ years of Go experience and I can't make heads or tails of "(b Box[T]) Map[U any](f func(T) U) Box[U]"

  • This: "(b Box[T]) Map[U any](f func(T) U) Box[U]" is the type of cognitive weight I was happy that Go avoided.

Explore Birbla archives