4 ms·
> You can do byte-swapping in one instruction on x86 Well considering the vast majority of swift code runs on Apple's ARM chips (iDevices) rather than x86 proc
by cgb223 9y ago
> You can do byte-swapping in one instruction on x86
Well considering the vast majority of swift code runs on Apple's ARM chips (iDevices) rather than x86 processors (Mac), I think that's kind of a moot point
- mikeash 9y agoMoot twice, since ARM also has a single instruction for byte swapping.
- userbinator 9y agoLittle-endian ARM, to be precise. AFAIK Apple's only big-endian products were those based on the 68K and PowerPC.