News for hackers. Stuff that matters.
Re:Reference count, don't garbage collect by chrisseaton on Friday July 29, 2022 @07:55PM (#32283003)
But that’s extremely easy - you go through a linear list once and free them all. You don’t even need to bring the contents from main memory to do it.

(Exception is shared pages, not used for heap memory often.)

Re:Reference count, don't garbage collect by saagarjha on Friday July 29, 2022 @08:11PM (#32283097)
It's definitely easier, because you don't have interior pointers. But it's still work :)