cocoa - Feasible to switch to objective-c on these platforms and situation? -


i've written of game engine using c++ runs on osx , ios (xcode 3.5 so, gcc), linux (gcc), , windows (vis studio 2010). uses stl vector collections of objects. implements message passing. engine using opengl on ios platform , use opengl on platforms , potentially directx on windows.

i don't c++, although have strong understanding of it. i'm c programmer , after introduction objective-c year ago, realized it's ideal how work , think. huge advantage me switch objective-c. unfortunately, beautiful world of osx/cocoa isn't reality of windows or linux.. or it?

i sure cocoa/apple/next evangelist provide me masterpiece of answer here

edit:

looks cocotron , gnustep 2 options, gnustep being more mature seeming have more baggage such requiring runtime.

i need solution can fit these requirements:

  • able compile, run, debug objective-c on platforms
  • able use cocoa api calls on platforms (ie nsstring, nsnumber..)
  • endusers should able install , run app without installing extra, or @ minimum installer should able , non-pervasively install (such runtime) gnustep requires runtime, cocotron not
  • explains issues may hit. example, able use provided cocoa stuff parsing xml? cfsocket? cg? solution end , go in realm of os-specific libraries aren't ported?

ideal:

  • can support closures (blocks) on platforms can use gcd , libdispatch becomes available, if boils down less efficient situation on non-native platforms
  • an api allow core data type data management (i'm dreaming here), if boils down less efficient situation on non-native platforms
  • a forward-looking solution maybe use llvm since seems way things moving

do not require:

  • gui functionality such drawing nsview etc
  • ide functionality except on osx
  • objective-c 2.0
  • objective-c++
  • garbage collection
  • ease of my setup: is, it's ok if pain me set , configure working, long working solution fits needs , allows me write code easy (portable per requirements above) , doesn't push of pain on users.

cocotron absolutely phenomenal software has suited every need far. while documentation poor , it's hard understand , working, it's extremely worthwhile , awesome.

the llvm/blocks/libdispatch doesn't seem quite reality yet, although may be, think @ switch xcode 4 real. boils down mingw working llvm.

there implementation of core data.. wow


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -