Objective-C, .m / .mm performance difference?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-02-23T11:58:51Z Indexed on 2010/05/27 16:01 UTC
Read the original article Hit count: 634

Filed under:

I tend to use the .mm extension by default when creating new classes so that I can use ObjC++ later on if I require it.

Is there any disadvantage to doing this? When would you prefer .m? Does .m compile to a faster executable (since C is generally faster than C++)?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c