News for hackers. Stuff that matters.
Re:Apple’s 2½ year old iPhone 12 is 6% faster than the new S... by acdha on Thursday February 09, 2023 @04:00PM (#34731374)
That is something Alex Russell, the author of that blog post, is trying to raise awareness of in the industry but changing the culture of web development is a lot harder than buying a different phone (in many cases that won't even cost you more money).
Re:Apple’s 2½ year old iPhone 12 is 6% faster than the new S... by basch on Thursday February 09, 2023 @04:02PM (#34731410)
Fix it at the rendering level. My device should default to not rendering a website the way the developer asks it to, but the way my defaults are set. Load a minimum viable site, ask my permission to execute more.
Re:Apple’s 2½ year old iPhone 12 is 6% faster than the new S... by mhio on Thursday February 09, 2023 @11:15PM (#34735546)
I think there is a general security and privacy argument for this type of setup as well.

As a web browser has become a general purpose VM, it has capabilities far surpassing what is needed at least 50% the time, I'd go as high as 90% of the time personally. Which is great that we have a magical run anything anywhere VM, but it's a double edge sword of the performance, security and privacy issues that come along with it.

If there was a well defined subset of functionality that browsers presented as the default "web enclave" and then opening up all the bells and whistles further was an opt in choice, a large chunk of those issues would go away. But that requires a bunch of people to agree on what that subset should include and the horror of trying to keep it updated over time. And that's _everyone_, including users putting up with "opting in" rather than everything just working.

I'm not sure I can see a subset of features becoming the default approach, at least until there is some horrible self propagating browser worm that impacts a large percentage of the world (or maybe by the 2nd or 3rd time, we will have had enough).

Re:Apple’s 2½ year old iPhone 12 is 6% faster than the new S... by kaba0 on Friday February 10, 2023 @01:41AM (#34736415)
How exactly would you decide what is minimum viable?

What about buying a ticket and it failing at the last step because your browser determined that js was unneeded?

Re:Apple’s 2½ year old iPhone 12 is 6% faster than the new S... by basch on Friday February 10, 2023 @09:45AM (#34740269)
Historically, browser vendors maintain per site settings of some sort. Whether that be Opera's Site Specific Patching or Brave.

Basically have to keep giant lists of what js actually enhances the people experience vs just being useful to the publisher.