News for hackers. Stuff that matters.
Re:Data Race Patterns in Go by yencabulator on Saturday June 11, 2022 @02:53PM (#31707098)
A json.Decoder holds on to a single io.Reader, using it concurrently to decode multiple things is just plain old absurd. How would that even work?

https://pkg.go.dev/encoding/json#NewDecoder

Re:Data Race Patterns in Go by masklinn on Monday June 13, 2022 @03:58AM (#31722534)
> How would that even work?

The same way it works to do so sequentially?