News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by vvanders on Saturday April 23, 2022 @10:27PM (#31140753)
I think his point about the amount of research done on ARC vs GC was interesting. Only recently have we see things like biased reference counting[1] that can significantly reduce the overhead of ARC.

[1] http://iacoma.cs.uiuc.edu/iacoma-papers/PRES/present_pact18....

Re:Chris Lattner on garbage collection vs. Automatic Referen... by pjmlp on Sunday April 24, 2022 @04:33AM (#31142245)
Reference counting is the oldest garbage collection algorithm, it has seen plenty of research.

What keeps being overseen is the amount of engineering to make reference counting perform in modern hardware, effectively overlaps with other garbage collection optimizations.

Re:Chris Lattner on garbage collection vs. Automatic Referen... by tialaramex on Sunday April 24, 2022 @07:30AM (#31143061)
> What keeps being overseen is the amount of engineering ...

You probably wanted "overlooked" here. Even though "seen" and "looked" are similar in meaning, "overseen" and "overlooked" are not. This is a subtle but important distinction in English. https://grammarist.com/usage/oversee-vs-overlook/

Historically you could choose "oversee" when you would today use "overlook" or vice versa, but these usages went from archaic to actively disapproved. One remnant though is you would still use "overlook" in a sentence like "Atop the hill, the old castle overlooks the whole town".

Re:Chris Lattner on garbage collection vs. Automatic Referen... by waqf on Sunday April 24, 2022 @10:26AM (#31144303)
And yet (depending on how it is used) "oversight" often refers to an instance of overlooking, rather than of overseeing.

It seems remiss of Grammarist to write an entire page without mentioning that.

Re:Chris Lattner on garbage collection vs. Automatic Referen... by tialaramex on Sunday April 24, 2022 @04:06PM (#31147819)
Good point. Example showing the two contrasting meanings of the word "oversight" in modern English:

At m.d.s.policy it was our view that Symantec management had inadequate oversight of Symantec's Certificate Authority and as a result on several occasions over an extended period an important oversight relating to the name validation procedures at CrossCert, a Korean business authorised by Symtanec to issue on their behalf - occurred without being detected by Symantec. This definitely resulted in undetected misissuance.

As a result of our efforts to fix this problem Symantec sold their entire CA business to DigiCert, and CrossCert became merely a reseller of DigiCert's products (including "Symantec" branded certificates)

This meant that now DigiCert's trustworthy management exercised oversight over all issuance of certificates from the new CA hierarchy even when the certificates had "Symantec" branding - while an oversight by CrossCert, such as failing to verify the identity of a customer, would no longer cause misissuance because DigiCert would independently use the Ten Blessed Methods.

Re:Chris Lattner on garbage collection vs. Automatic Referen... by pizlonator on Sunday April 24, 2022 @09:57AM (#31144031)
Lol biased ref counting. I tried that years ago. It’s super fast for serial workloads or very simple parallel ones. I would avoid it for anything real.