logoalt Hacker News

MYEUHDyesterday at 4:18 AM1 replyview on HN

On iOS if an app remains in the background for over ~30 seconds, it gets killed.

So, you can't really compare. On iOS you can have 3GB of RAM and it wouldn't be a bottleneck.


Replies

runakoyesterday at 5:22 AM

> On iOS if an app remains in the background for over ~30 seconds, it gets killed.

Except 1) that's not entirely true (famously: music, Zoom) and 2) yes, cooperative state management. Users do not know or care that an app is not actually running if it appears that it is still running when they switch back to it. #2 obviously does not work for many dev use cases, but it would not impact my workflow if e.g. ChatGPT or Chrome were suspended when not in the foreground.