News for hackers. Stuff that matters.
Re:Is reference counting slower than GC? by gpderetta on Tuesday May 24, 2016 @05:30AM (#11760033)
FYI, any store has to invalidate remote cachelines, that's taken care by the coherence protocol even before the store is actually performed.

Memory barrier (and atomic operations) don't have anything to do with it.

Re:Is reference counting slower than GC? by JoachimSchipper on Tuesday May 24, 2016 @05:38AM (#11760060)
Whether stores invalidate remote cachelines depends entirely on the architecture. But yes, Intel has fairly strong coherency.
Re:Is reference counting slower than GC? by gpderetta on Tuesday May 24, 2016 @06:59AM (#11760431)
It seems to me that any cache coherent system needs to do that. If multiple writers can be updating a cacheline a the same time [1] you can't talk of coherency at all. Intel is stronger as it guarantees a total ordering of modifications across all cachelines, but any coherent system will guarantee the ordering of modification of a single cacheline.

[1] visibly at least. HTM complicates things a bit of course.