]> Cypherpunks repositories - gostls13.git/commit
doc/go1.20: remove mention of arena goexperiment
authorRuss Cox <rsc@golang.org>
Tue, 17 Jan 2023 14:21:43 +0000 (09:21 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 17 Jan 2023 15:26:07 +0000 (15:26 +0000)
commit66689c7d46fb32eca064c9a1e0b2c9de6d377524
tree8fff9c67e0f39d0a041dae3de0cfc84ebf868269
parent145dd38471fe5e14b8a77f5f466b70ab49c9a62b
doc/go1.20: remove mention of arena goexperiment

The arena goexperiment contains code used inside Google in very
limited use cases that we will maintain, but the discussion on #51317
identified serious problems with the very idea of adding arenas to the
standard library. In particular the concept tends to infect many other
APIs in the name of efficiency, a bit like sync.Pool except more
publicly visible.

It is unclear when, if ever, we will pick up the idea and try to push
it forward into a public API, but it's not going to happen any time
soon, and we don't want users to start depending on it: it's a true
experiment and may be changed or deleted without warning.

The arena text in the release notes makes them seem more official
and supported than they really are, and we've already seen a couple
blog posts based on that erroneous belief. Delete the text to try to
set expectations better.

Change-Id: I4f6e328ac470a9cd410f5f722d0769ef62d5e5ba
Reviewed-on: https://go-review.googlesource.com/c/go/+/462355
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
doc/go1.20.html