Re: Is there a decent Obj-C for Windows?
Re: Is there a decent Obj-C for Windows?
- Subject: Re: Is there a decent Obj-C for Windows?
- From: Dave Fayram <email@hidden>
- Date: Mon, 24 Sep 2001 10:48:05 -0700
Well, I was just preparing a presentation on this last week. Yes and no.
The best solution is to use cygwin and gnustep or libFoundation. Both
do compile on windows. The foundation kit can't use just standard C calls
because of stuff like NSThread, NSConnection, and the like. These depend
on UNIX-ified API's. Last time I nosed through the site I saw no
explicit windows
support there, since Cygwin is supposed to (and does) do a fine job of
emulating
these features.
GNUStep really isn't that bad, the foundation kit is pretty much there
and
my simple little performance tests on my windows box running gnustep
didn't seem to give me any problems.
However, the major problem is getting users to be able to use it. You
need
to distribute cygwin, and gnustep expects a huge environment to be there
to help it with stuff like fonts and timezones and stuff like that, so
your installer
needs to recreate that.
Ideally, I'd love to see Apple release cocoa.dll's for windows. Not the
dev
kit, just a compatibility library, to make cocoa development truly cross
platform,
even if it meant the windows version was kinda slow (it's not based on
DisplayPostScript, so I'd imagine that it'd be rather clunky with stuff
like
NSBezierPath). I suppose that would happen when it makes marketing sense
for Apple to do so, or on a cold day in hell, whichever comes first.
On Sunday, September 23, 2001, at 07:41 PM, Chris Gehlker wrote:
I'm seriously contemplating porting some of my QuickTime code to Cocoa
and I
have to decide whether it's worth while to try to bring along the
Windows
support. I've really been all over the web and I still don't have a
clear
picture of the status of Objective C on Windows. I understand that
GnuStep
requires CygWin and is not well developed but the code I have uses the
QT
Media layer for all its UI stuff so I don't need anything like AppKit.
What
I do need is a decent ObjC compiler that is link compatible with
either MS
VC++ or CodeWarrior for Windows.
Is there such a beast? If not, could I hope to compile such a beast
from the
Darwin source?
--
In the midst of great joy, do not promise anyone anything. In the midst
of
great anger, do not answer anyone's letter. -Chinese proverb
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev