More radical ideas about gc and reference counting

Xavier Bigand via Digitalmars-d digitalmars-d at puremagic.com
Tue May 6 15:17:01 PDT 2014


Le 06/05/2014 14:30, Michel Fortin a écrit :
> On 2014-05-06 12:04:55 +0000, Manu via Digitalmars-d
> <digitalmars-d at puremagic.com> said:
>
>> Notably, I didn't say 'phones'. Although I think they do generally
>> fall into this category, I think they're drifting away. Since they run
>> full OS stack's, it's typical to have unknown amounts of free memory
>> for user-space apps and virtual memory managers that can page swap, so
>> having excess memory overhead probably isn't such a big deal. It's
>> still a major performance hazard though. Stuttering realtime
>> applications is never a professional look, and Android suffers
>> chronically in this department compared to iOS.
>
> Note that iOS has no page swap. Apps just get killed if there isn't
> enough memory (after being sent a few low memory signals they can react
> on, clearing caches, etc.). Apps that takes a lot of memory cause other
> apps in the background to be killed (and later restarted when they come
> to the foreground).
>
And it's viable because majority of applications can be launch at the 
exact same state (or really close) they was before the kill.


More information about the Digitalmars-d mailing list