Re:Go 1.19 Released
by ainar-g on Tuesday August 02, 2022 @02:08PM
(#32322268)
The new generic atomic.Pointer[T] has been added[1]. More general improvements for slices and maps are being prototyped in the x/exp repos[2][3] to get it right and not get stuck with a sucky implementation in the stdlib.
[1]: https://pkg.go.dev/sync/atomic@master#Pointer
[2]: https://pkg.go.dev/golang.org/x/exp/maps
[3]: https://pkg.go.dev/golang.org/x/exp/slices