A binary coder for Swift
mikeash.com
A binary coder for Swift
1–10 of 24 posts
Re: A binary coder for Swift
#2Re: A binary coder for Swift
#3Re: A binary coder for Swift
#4How stable are swift releases now? What are some good resources to start learning swift?
https://learn-anything.xyz/programming/programming-languages...
Re: A binary coder for Swift
#5Regardless of how fast it is, it seems wasteful to do all this byte-swapping when the vast majority of systems today, outside of more specialised applications, are little-endian.
Re: A binary coder for Swift
#6How stable are swift releases now? What are some good resources to start learning swift?
Re: A binary coder for Swift
#7the numbers are byte-swapped to be endian agnostic Regardless of how fast it is, it seems wasteful to do all this byte-swapping when the vast majority of systems today, outside of more specialised applications, are little-endian.
Re: A binary coder for Swift
#8How stable are swift releases now? What are some good resources to start learning swift?
I think, as a starting place, Apple's Swift Programming Guide is hard to beat
[1]: https://developer.apple.com/library/content/documentation/Sw...
Re: A binary coder for Swift
#9the numbers are byte-swapped to be endian agnostic Regardless of how fast it is, it seems wasteful to do all this byte-swapping when the vast majority of systems today, outside of more specialised applications, are little-endian.
Re: A binary coder for Swift
#10Earlier quoted context omitted.
I think, as a starting place, Apple's Swift Programming Guide is hard to beat
In my experience, it's difficult to go through because it's so comprehensive and thorough, and I guess it has to be because it has to assume the lowest common denominator audience. Personally I'd like a shorter guide that assumes you know a few languages (C#, ObjC, JS, Java) and skips a bunch of the tedium of how programming languages work in general and gets right to what's different about Swift. It may seem like it…
As an aside, the book, Advanced Swift, by the objc folks is fantastic but assumes you already know Swift. It's not what you're looking for, but something to move onto after you grasp the basics.