News for hackers. Stuff that matters.
Re:Wuffs’ PNG image decoder by amenghra on Tuesday April 06, 2021 @07:20PM (#26718573)
Go & Java don't do reference counting. They have a GC instead.
Re:Wuffs’ PNG image decoder by pjmlp on Wednesday April 07, 2021 @08:17AM (#26723727)
Wrong, reference counting is a GC algorithm, and both language specifications don't state what exact algorithm is to be implemented.

In fact there are tons of GC implementations across all Java implementations, including reference counting.

For example, "An on-the-fly reference-counting garbage collector for java"

https://dl.acm.org/doi/10.1145/1111596.1111597

And here is one for Go.

https://github.com/sendilkumarn/gopurerc