Hacker News new | past | comments | ask | show | jobs | submit login

>reference counted system is a _garbage_collector_

Exactly. An awful one.




So why did Apple switch to ARC?


Obj-C has been a (non-automatic) refcounted language since its inception, save for a very short period of more advanced GC on OSX (the GC never made it to iOS).

Also, ARC is not a refcounting GC, the ARC calls are injected statically in the binary as if they'd been inserted manually in the source.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: