Hello gophers, recently I published go tool and extension for vscode to help with some common performance transformations for structs, such as:
- cpu cache alignment
- memory packing
- false sharing guarding
- auto annotation
- generic fields management, etc.
It supports direct transformation of go code and other useful outputs.
Check it out the repo https://github.com/1pkg/gopium and/or extension page https://marketplace.visualstudio.com/items?itemName=1pkg.gopium