It turns out that Go v1.18’s generics functionality is enough to encode traits, which has many applications. In particular, we could write a generic library for Elliptic Curves, among other things.
- 2022年03月20日
- 9 分
Encoding Traits with Go Generics- 2019年06月14日
- 6 分
Data Races vs Race ConditionsThis is a quick post about the difference between Data Races and Race Conditions, and how data structures or patterns providing freedom from data races can fail to provide race condition freedom.