News for hackers. Stuff that matters.
Re:Apple's Shifting Differentiation by sanketskasar on Wednesday November 11, 2020 @10:09AM (#25058980)
Yes, but there have been instances of Apple (and in general, ARM as well, though not as much) adding special instructions to the A series chips to make JS execution faster. They can make web apps run better than other platforms. And then they can make native apps run even faster. Both are a advantage which the competing ecosystem doesn't have.
Re:Apple's Shifting Differentiation by simonh on Wednesday November 11, 2020 @10:52AM (#25059338)
The special CPU instruction for JS thing is a bit silly. Javascript defines it's floating point rounding behaviour as what Intel CPUs do. ARM behaves differently by default, so they implemented an instruction to emulate the Intel behaviour specially to avoid Javascript running too slowly implementing the excepted behaviour in code.

This doesn't give ARM chips an advantage over Intel CPUs at executing Javascript for obvious reasons, once you know why they added it.

Re:Apple's Shifting Differentiation by CharlesW on Wednesday November 11, 2020 @12:24PM (#25060387)
> This doesn't give ARM chips an advantage over Intel CPUs at executing Javascript for obvious reasons, once you know why they added it.

I believe the point is that it's one example (of hundreds, maybe thousands?) of performance paper-cuts addressed by Apple hardware that result in significant performance-per-watt advantages over devices not using Intel CPUs.

Re:Apple's Shifting Differentiation by gsnedders on Wednesday November 11, 2020 @11:21AM (#25059610)
And it effectively just sets the FPU flags, runs the instruction, then resets the FPU flags. It just avoids the JS VM from having change FPU flags repeatedly.
Re:Apple's Shifting Differentiation by kergonath on Wednesday November 11, 2020 @05:45PM (#25063915)
Could you point to one of those (Apple only instruction added for the only purpose of accelerating JS)?
Re:Apple's Shifting Differentiation by stevefan1999 on Thursday November 12, 2020 @02:05AM (#25067262)
ah. also jazelle.