• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

102 Neutral

About Ansman

  • Rank
  1. Choosing a language for my game engine

    Objective-C it is then!
  2. Choosing a language for my game engine

    It's true that I'm more comfortable with Objective-C but I would not mind writing it in C++.
  3. I'm writing a game for the iOS platform. I'm just about to start writing the core game engine, the things that are specific to game logic and not so much the platform itself. The question is which language do I choose. [b]Objective-C(++)[/b] I like Objective-C very much and I think it's a beautiful language. Pros is it's platform native meaning I can use built in types (which in turn means better integration with other components) and it's memory management is awesome. Cons is it sort of locks me in on iOS/Mac and even though no ports are planned it might be in the future and that it can be slower than C++ [b]C++[/b] I have no trouble writing C++ albeit it is a bit ugly. Pros are speed and portability seeing as almost every platform supports it. Cons are the memory management (writing your own Objective-C style memory management isn't hard though) and messier code. [b]C[/b] No... just no. --- Any input/suggestions? Should I write it in ObjC for now and worry about porting later or be on the safe side with C++?
  • Advertisement