3 ms·
I’m not sure that’s exactly accurate. The special JavaScript instructions, and the optimizations to retain/release counts within memory blocks, seem much more i
by Eric_WVGG 6y ago
I’m not sure that’s exactly accurate. The special JavaScript instructions, and the optimizations to retain/release counts within memory blocks, seem much more interesting. https://mobile.twitter.com/ErrataRob/status/1331735383193903104 https://mobile.twitter.com/ErrataRob/status/1331735383193903...
I haven’t the foggiest idea if any of this could make it to competing ARM chips, but given how many years Snapdragons have been lagging relative to the iPhone “A” chips, I don’t feel too optimistic.
- olliej 6y agoThe “special javascript instructions” are a single instruction that’s only impact is removing a perf advantage intel has due to JS exposing x86 specific sentinels to the web. The only thing it does is remove a branch in arm64 where the various JITs have to do: Int value = (int)some double; If (flags) value = x86 sentinel Whereas x86 systems don’t have a branch by definition. That is all the “special instruction” does.
- novok 6y agoI don't think it will be that hard for Intel & AMD to put little operations like the javascript float one (which is a standard ARM instruction BTW) or some special instructions to help garbage collection and retain/release counts work more effectively that all programming languages could leverage. It's something else that makes it better.
- my123 6y agoAnd that instruction is to replicate the x86 FP rounding behavior, which ended up in the JS standard. Nothing else...
- ric2b 6y ago> The special JavaScript instructions That's an ARMv8 feature, not specific to Apple.
- saagarjha 6y agoARMv8.3 to be specific.