[OT] Why mobile web apps are slow

Jacob Carlborg doob at me.com
Wed Jul 10 11:32:32 PDT 2013


On 2013-07-10 19:25, Sean Kelly wrote:
> On Jul 9, 2013, at 11:12 AM, Paulo Pinto <pjmlp at progtools.org> wrote:
>
>> A bit off-topic, but well worth reading,
>>
>> http://sealedabstract.com/rants/why-mobile-web-apps-are-slow/
>
> Oh, regarding ObjC (and I'll qualify this by saying that I'm not an ObjC programmer).  My understanding is that ObjC was originally reference counted (ARC = Automatic Reference Counting).  Apple then introduced a mark & sweep GC for ObjC and then in the following release deprecated it and switched back to ARC for reasons I don't recall.  However, reference counting *is* garbage collection, despite what that slide suggests.  It just behaves in a manner that tends to spread the load out more evenly across the application lifetime.

Objective-C originally used manual reference counting. Then Apple 
created a GC (never available on iOS). Then they implemented ARC in 
Clang. And now they have deprecated the GC and one should use ARC.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list