79 points · by hoggle · 11y ago · 25 comments
In particular the section "Calling Conventions 101" contains a lot of very useful information that isn't documented very well in any of the iOS resources provided by Apple (AFAIK). Commit it all to memory, you'll be glad you did :)
This article has some more good tips on extracting information from those registers. http://www.sealiesoftware.com/blog/archive/2008/09/22/objc_e...
x86_64 has the System V AMD64 ABI calling conventions which are as standard as can be and used by almost everybody. Microsoft being their usual assholes does not mean their ABI is anything other than their ABI.
On the other hand, you do get greater performance and stability (but not perfect stability, after all it wouldn't be an iOS release if Apple didn't break something and completely ignore radars).
That said figuring out bugs in iOS is a major league PITA. I have one now in NSURLSession which is batshit insane.
And autolayout is freakin awesome imo, though I hear a lot of people groak about it.
Plus the term "batshit insane" has been overused. What you'd use to call some really bizarro thing when you do see one?
Even with a problem like this, you can fix it or get around it with a bit of trial and error. As with any other black box technology.
(Still useful to know, though.)