News for hackers. Stuff that matters.
Re:A binary coder for Swift by cgb223 on Saturday July 29, 2017 @01:35PM (#14882197)
> 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

Re:A binary coder for Swift by mikeash on Saturday July 29, 2017 @01:40PM (#14882221)
Moot twice, since ARM also has a single instruction for byte swapping.
Re:A binary coder for Swift by userbinator on Saturday July 29, 2017 @01:51PM (#14882254)
Little-endian ARM, to be precise. AFAIK Apple's only big-endian products were those based on the 68K and PowerPC.