Data Structures for Throughput
- Choosing RWMutex (24 Mar 2021) — You need to maximize throughput in a concurrent algorithm. Will an RWMutex help?
- Sync Map, Reconstructed (13 Apr 2021) — Where does sync.Map actually fit? Let's rebuild it from scratch to find out!
Type Techniques
- JSON Constructors (23 Dec 2023) — Combining some obscure features of Go lets us ensure we never decode invalid objects, keeping our APIs and systems safe.
- Static Assert in Go (11 Feb 2024) — Make the compiler check your assumptions before any code runs.
Miscellany