News for hackers. Stuff that matters.
Re:The Garbage Collection Handbook, 2nd Edition by pjmlp on Sunday April 09, 2023 @02:38AM (#35500503)
So fast that Apple Silicon introduced specific memory instructions to handle ARC counters.
Re:The Garbage Collection Handbook, 2nd Edition by astrange on Sunday April 09, 2023 @07:00AM (#35501550)
It did not do this, standard atomics are relatively fast because it's a unified memory system.
Re:The Garbage Collection Handbook, 2nd Edition by vlovich123 on Sunday April 09, 2023 @01:21PM (#35504649)
ARM also has an option for weaker consistency atomics which help with speed (and ARC does take advantage of this but not something Apple sped up specifically extra afaik in silicon)