Re:The origins of Objective-C at PPI/Stepstone and its evolu...
by pmcjones on Monday June 15, 2020 @03:41PM
(#23532036)
I believe this is the first paper to describe reference counting:
George E. Collins. A method for overlapping and erasure of lists. Commun. ACM 3, 12 (Dec. 1960), 655–657. https://doi.org/10.1145/367487.367501
Maybe in objc, but in the general case I kinda doubt this. It's a very common pattern in kernel development as an example, haven't done any archeology here but I have seen it in codebases rooted in the 80s at latest, probably earlier. (Did original Unix reference count file objects in the FD table the same way a modern kernel would? Would not be surprised if yes.)
Autorelease is pretty unique though and clever.