From the archive
Wednesday, 4 November
Folded from 15 sources that day.
Sorted by quality and by how many sources covered it, the same for everyone.
-
A new Go API for JSON
Go 1.27 makes the encoding/json/v2 and encoding/json/jsontext packages stable. The new defaults reject invalid UTF-8 and duplicate object names, and the post explains the older package's flaws.
-
How //go:embed Works: From Source Files to Binary
Explains the //go:embed directive, how the compiler bakes files into the binary, and how the embedded read-only filesystem is read at runtime, with its tradeoffs.
-
Gist of Go: Concurrency
Promotes a $25 interactive book by Anton Zhiyanov that teaches Go concurrency from goroutines and channels through synchronization, with browser-based exercises.