News for hackers. Stuff that matters.
Re:Proposal: expression to create pointer to simple types by iovec on Monday April 19, 2021 @12:57PM (#26865015)
Since it doesn't seem like this was answered in the other discussion, the answer is that Go does not allow taking the address of a map value. You get a compile-time error: "cannot take the address of m[x]".

https://play.golang.org/p/rX8A6ez9fVx

Re:Proposal: expression to create pointer to simple types by zeeboo on Monday April 19, 2021 @01:10PM (#26865231)
Indeed. This is in a thread where the original comment was "I think the best approach would be making & work in basically any scenario." I'm trying to demonstrate the complications of making it work on map accesses.