3 ms·
Objective C does (explicit) reference counting, though I suppose that's a pretty limited use case these days.
by rzimmerman 5y ago
Objective C does (explicit) reference counting, though I suppose that's a pretty limited use case these days.
- loeg 5y agoDoesn't Swift (built on ObjC) also use reference counting?
- sgerenser 5y agoYes, Swift uses refcounting.
- pansa2 5y agoDoes Swift have a GIL? If not, how does it solve the problem of multithreaded reference counting?
- loeg 5y agoPer earlier comment[1], Swift uses the biased refcounting approach Gross is proposing for Python. [1]: https://news.ycombinator.com/item?id=28882299 https://news.ycombinator.com/item?id=28882299