I am considering taking the plunge and porting an app from cocos2d-iPhone to Cocos2d-X.
The thing is that I have never bothered to convert my app to use Automatic Reference counting (ARC)…becuase it is quite large and the retain/release/autorelease code appears to be working very well with no memory leaks. However, as we all know retain/releases code can be time consuming to code even when done right (and debugging can be a bear when simple mistakes are made).
In anycase, I had been considering moving to ARC for “simplicity of code” reasons but I was wondering if it is easier to port non-ARC code to Cocos2d-X since it appears that Cocos2d-X currently uses similar retain/release concepts?
I should mention that I did read the discussion about 3.0 changing to either Smart Pointers or Shared Pointers (instead of Retain/Release) but it seems that discussion (at least the thread I was reading) has not had a post in about 4 months… so I am unsure what the Cocos2d-X roadmap is at this point.
Anyway, my question is: Is it advantageous to convert to Cocos2d-X with non-ARC code or is it a better idea to simply convert my iOS app to ARC (putting of the port to Cocos2d-X for now) and wait for the new Cocos2d-X memory management to come online? (I am not in a real hurry to do either one, but I am trying to form a plan).
Any insight/recommendations would be appreciated.