Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
truth_seeker
3 months ago
|
parent
|
context
|
favorite
| on:
CPU cache-friendly data structures in Go
or at least Linter should catch this
https://golangci-lint.run/docs/linters/
CamouflagedKiwi
3 months ago
[–]
I think it's really beyond the power of a linter to understand when this would matter. It'd be issuing warnings on almost every struct out there saying "these two members share a cache line" which you almost never care about.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://golangci-lint.run/docs/linters/