Hacker News new | ask | show | jobs
by compounding_it 26 days ago
>A new iPhone 18 has 2.5x the performance of an iPhone 11.

But we are talking about something as simple as opening safari and camera app. How does that glitch and require 2.5x the performance 7 years later with no hardware changes whatsoever to the camera and network/ssd/display etc.

1 comments

Both apps you mentioned (safari and camera) have been almost completely rewritten in the past few years. The software is designed, written, and tested on latest generation hardware. It is then backported to older devices. Apple developers don't daily-drive 7 year old devices, they don't encounter this sluggishness and have little incentive to optimize old devices.

The software is optimized for devices with 2x the performance and 3x the RAM. It's no surprise at all that it's slow.

Why didn't the same happen with Firefox or Chrome? They still work fine on older devices.
Both of those apps feel slower, I'm not sure what you're talking about.

Newer versions of iOS use significantly more RAM than older versions. I'd estimate that OS RAM usage increased from ~1GB to ~1.5-2GB. This has minimal effect on newer phones with 12GB of RAM, but on older phones such as the iPhone 11 with 4GB of RAM the performance impact is noticeable. Userspace apps spend more time paging and are slower.

Also, webpages have gotten 2-5x heavier over the past decade. App sizes have increased by a similar multiplier.

It hasn't happened to Firefox. Sent from desktop Firefox running on my GNU/Linux phone announced in 2017.
Sometimes you endorse Firefox on the Librem 5 as a good experience, sometimes you indicate that due to it being fairly underpowered, JavaScript needs to be disabled on a number of sites in order to have a usable experience.

Setting aside the functional implications of disabling JS, can you help me square the two?

The browser itself did not become slower. JS-heavy websites did. But a lot of other websites still work fine, including HN. This confirms that there is no need to make newer software slower. It's the bloat that makes software and websites slow, not new features.
This discussion is about iOS and your Linux phone is irrelevant to this conversation.
It is relevant. I gave a counterexample, demonstrating that the software must not become much slower with improvements, unlike what Apple fans want to believe.