Remix.run Logo
dijit 6 days ago

fun fact, the marriage of hardware and phone browsers (especially iOS) allow full utilisation of floating point calculations for javascript (since every “number” is a float of course).

ARM is literally tweaking CPUs to be better at running Javascript: for example ARMv8.3 added a new float-to-int instruction with errors and out-of-range values handled the way that JavaScript wants.

Meaning, yes, typically, the most powerful devices for browsing the web are in fact phones.

Webapps that perform fine on an iPhone 14 can cause the latest i9-14900k to choke.. It’s hilarious.

This is part of why the Apple M-Series CPUs feel like magic. Lots of electron apps suddenly perform very well.

arethuza 6 days ago | parent [-]

Yeah, my phone is a iPhone 15 Pro and my desktop PC is an i7-4790

dijit 5 days ago | parent [-]

Well, that's a 1.5-2y old phone vs a 11-12 year old PC.

Also, I had that same CPU, it was a beast. :)

I meant the other way, years old phones are trouncing brand new top of line CPUs.