@bradfitz ("Brad Fitzpatrick") wrote:
And the new #golang net/netip package is all submitted, coming in Go 1.18!
docs: https://pkg.go.dev/net/netip@master
And w/ @commaok's last minute heroics, UDP send+recv are now allocation-free (the main point of all this!)
(admittedly a little embarrassing it ever allocated, but...)
with quote tweet:
@bradfitz ("Brad Fitzpatrick") wrote:
And the netaddr-in-#golang proposal is accepted! 🎉
(now called net/netip)https://github.com/golang/go/issues/46518#issuecomment-937234737
Now to finish it up! https://twitter.com/bradfitz/status/1400113040792506370