Re: What Apple technologie should I use to port to MS and U*ix platform ?
Re: What Apple technologie should I use to port to MS and U*ix platform ?
- Subject: Re: What Apple technologie should I use to port to MS and U*ix platform ?
- From: Stefan Werner <email@hidden>
- Date: Thu, 8 Mar 2007 12:51:41 +0100
[crosspost ignored, I'm replying only to cocoa-dev and author]
On Mar 8, 2007, at 11:37 AM, Thierry DELHAISE wrote:
Ours softwares mainly use 2D and 3D rendering/display, make
intensive calculation in 2D and 3D. So on mac we use Cocoa, Quartz
and OpenGL. We love mac platform but we must consider other platforms.
My question is what tehcnologies should we use on Mac to help us
address Windoze and other U*ix platforms. And if possible not in C++.
Is there any reason why not C++? Like the language or not, C++ has
the advantage that optimized and mature compilers are available for
pretty much any platform there is, in contrast to ObjC.
You'll unfortunately have to settle for a common denominator, at
least for the code that's supposed to run on all platforms. Since
you're using Cocoa on OS X, your UI code won't work directly on other
platforms. Also, ObjC compilers on other platforms are not as mature
and available as on OS X. You could try your luck with GNUStep, but I
wouldn't have high hopes, especially not on Windows.
I'd suggest you keep the code that does the actual work in plain C
and connect it to a Cocoa UI on OS X and to whatever UI framework you
want to use on the other platforms. That way you don't have throw out
the Mac UI that you already have. This would also be a point where
you can consider using a cross-platform toolkit (wx, Qt, fltk, etc)
so that at least the Windows and Linux versions can share UI code.
If you want to avoid more duplicate work and are ready to move away
from Cocoa in favor of portability, I'd strongly suggest a cross-
platform toolkit, which unfortunately mostly rely on C++. If you want
to avoid C++, I'd suggest trying out wxPython and SWIG.
Stefan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden