Reputation:
I'm experimenting with ARM
assembly language, during this I often use inline assembly blocks in Objective-C
code for my first iOS 6 small pet project. During this I wondered:
SIMD
, media optimisation (image shrinking and etc.)?Upvotes: 1
Views: 483
Reputation: 52565
The iPhone is just a small computer so the trade-offs of using assembler are exactly the same as with any other machine.
The general answer has to be no, you don't want to be using assembler.
Having said that, there are always exceptions where hand-tuned, very low level code might be faster. Make sure you use Instruments to correctly identify your bottlenecks and that you've tuned your code using higher-level techniques before you start.
Use special hardware features where it makes sense, but bear in mind that you don't need to use assembler to get the benefits of most of them.
Upvotes: 2