News for hackers. Stuff that matters.
Re:Apple Silicon M1: Black Magic Fuckery by Shish2k on Tuesday November 24, 2020 @09:45PM (#25205481)
> reference counting will always use more ram because a reference count must be stored

True, reference counting stores references… but garbage collection stores garbage, which is typically bigger than references :)

(Unless you’re thinking of a language where the GC gets run after every instruction - but I’m not aware of any that do that, all the ones I know of run periodically which gives garbage time to build up)

There are no comments on this comment yet.