News for hackers. Stuff that matters.
Re:A single line of code made a 24-core server slower than a... by yencabulator on Friday December 31, 2021 @01:19PM (#29750829)
If the only purpose of the Arc was to be a reference count, a language with a (non-refcount) GC wouldn't need that atomic in the first place.
Re:A single line of code made a 24-core server slower than a... by dagmx on Friday December 31, 2021 @01:30PM (#29750954)
That's fair. It read to me, from his post, that Rune was using it for context sharing as well between threads (since that's the source of the highest level Arc in his code example) . If it's only for ref counts then it makes sense that a concurrent GC could avoid the issue