Y
Hacker News
new
|
ask
|
show
|
jobs
by
neillyons
444 days ago
Curious to know what people are building where you need to optimise like this? eg Struct Field Alignment
https://goperf.dev/01-common-patterns/fields-alignment/#avoi...
2 comments
dundarious
444 days ago
False sharing is an absolutely classic Concurrency 101 lesson, nothing remarkable about it.
link
kubb
444 days ago
Something that shouldn’t be written in a GC language.
link
Cthulhu_
444 days ago
GC is not relevant in this case, it's about whether you can make structs fit in cache lines and CPU registers. Mechanical sympathy is the googleable phrase. GC is a few layers further away.
link
piokoch
444 days ago
I don't think GC has anything to do here, doing manual memory allocation we might hit the same problem.
link