News for hackers. Stuff that matters.
Re:Techniques for Safe Garbage Collection in Rust by _rlh on Wednesday August 28, 2024 @07:53AM (#41378498)
Go's defrag techniques and why they work are discussed in the Hoard papers and have proven their value not only in Go but in most malloc implementations.

There is a relationship between cache locality, moving colocated objects to different cache lines to control fragmentation, value types, and interior pointers. Perhaps it is subtle but cache optimization is real important for performance and is not ignored by Go in the language spec or the runtime implementation.

There are no comments on this comment yet.