3 ms·
All relevant compilers on OS X allow you to mix and match C++ and Objective C. If you look at Apple stack traces, you will see plenty of C++ in there. I don't s
by gurkendoktor 13y ago
All relevant compilers on OS X allow you to mix and match C++ and Objective C. If you look at Apple stack traces, you will see plenty of C++ in there. I don't see how using a few "Objective" bits in your C++ code is any worse than using non-portable COM interfaces in C++ on Windows.
- jokoon 13y agoI don't know, I'm just talking about ogre3d. Besides, the fact windows has non portable code, doesn't mean OSX should too. Especially if it uses unix as a base.
- pjmlp 13y agoUNIX is only portable for command line tools, POSIX does not define anything GUI related. XWindows and OpenGL are not part of POSIX. Did you ever wrote portable GUI applications across UNIX systems using only UNIX standards?
- jokoon 13y agoWell what's the point of using unix then, if it's not to make unix-friendly app not compatible ? To attract linux nerds ? > XWindows and OpenGL are not part of POSIX. I don't really care about POSIX, I care about being able to recompile apps for a new OS, without having to rewrite core parts or change the design. I guess people would start to make new apps for the sake of apple. And by the way, what's the point of Cocoa compared to other existing things ? Is GUI programming that much important, now that everybody is using html and js ? Is it worth changing the wheels for the sake of a language paradigm ? At the kernel level, I don't see why there's a need for cocoa.
- pjmlp 13y agoHTML is for documents, it just sucks for anything native platforms have since the mid-90's.