I get the feeling that the “ARC is great because you don’t have to deal with garbage collection pauses!!!” people have never had to close a 20 GB Instruments trace
@saagar GC uses more memory, and using more memory is just a loan on memory you don’t have on a phone.
I despise GCS. (Sorry Miguel).
At the end of the day you use refcount only if you have shared references (and hopefully swift will grow increasingly better at understanding borrows)
@saagar you’re entitled to your incorrect opinions :p
For an app maybe. For the system, absolutely not
@saagar but I did carve out the “for apps”. There are an order of magnitude (or more) more processes than apps on a typical system (electron apps don’t count here, they have too many processes themselves and are an abomination, fortunately, not on phones).
A GC on the system by default would cost you a lot. Way more than we deem acceptable.