I'm trying to gauge an idea of how much faster my code might be if I switch over from using Objective C/NSObject to a C++ framework for my game. I've heard different stories from comparable to a drastically different and I'd like to get an idea of the % increase in speed I might get. I know this is a vague question and depends on a bunch of things, so any clarification about this would be appreciated. I'm at a point where my game is running right around 30 CFPS, and I'd like to add more stuff without dropping the frame rate.
Worth mentioning is I'm using Opengl ES 2.0 and not particularly interested in porting what I have to Android anytime soon, so any motivation to convert what I have to C++ would be for speed, not cross platform reasons.
I have a bit more than 5 years working with ObjC/Cocoa, and I can tell you it is slower than C++, the strong reason for ObjC is that it is an easy, modern and nice language to use, compared to old C++.
So for a game, I would go C/C++ only. Although I think you can use ObjC too, just don't abuse objects, if you start using many arrays, dictionaries, sets, strings, etc, specially if you do things like an NSArray of NSArrays, you can easily slow performance and memory.
Another strong factor for me is cross platform, maybe you don't care now and that's okay, but talking about games, iOS is not the only platform, there are many.
I have a bit more than 5 years working with ObjC/Cocoa, and I can tell you it is slower than C++, the strong reason for ObjC is that it is an easy, modern and nice language to use, compared to old C++.
So for a game, I would go C/C++ only. Although I think you can use ObjC too, just don't abuse objects, if you start using many arrays, dictionaries, sets, strings, etc, specially if you do things like an NSArray of NSArrays, you can easily slow performance and memory.
Another strong factor for me is cross platform, maybe you don't care now and that's okay, but talking about games, iOS is not the only platform, there are many.