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: Simon Stapleton <email@hidden>
- Date: Mon, 24 Sep 2001 14:42:13 +0100 (BST)
>
From: Robert S Goldsmith <email@hidden>
>
To: Chris Gehlker <email@hidden>
>
CC: Cocoa DEV <email@hidden>
>
Subject: Re: Is there a decent Obj-C for Windows?
<snip>
>
Basically, graphics in objectiveC are built on display
>
postscript so you would need a dps renderer for windows - or
>
a conversion lib.
Ahem. I think you meant to say 'graphics in current and past
implementations of AppKit'. There's absolutely nothing to stop some
mad fool writing a drop-in replacement for AppKit that runs natively
on Windows, or any other platform. Or, come to that, one that
doesn't drop in. AppKit and foundation are nothing to do with
Objective-C, after all. They're just class libraries that happen to
be used in conjunction with my favourite OS.
Granted, if you wanted to, let's say, _just compile_ GNUStep's AppKit
implementation for Windows, you would either need to run a dps
renderer or conversion lib for it to be useful. But if you wanted to
really get under the hood (and for quicktime, I suspect you would
have to anyway) you could map appkit interfaces to native
functionality. I'm not sure, but I think GNUStep may already do this
for X where there's no dps server (although it might require gps in
this case, I forget).
Anyroadup. I'd suggest trying the GNUStep foundation replacement at
least - it's reckoned to be solid enough for everyday use. The
GNUStep AppKit replacement might be OK too (for various values of OK
ranging from "won't compile under windows" to "needs other
infrastructure to work properly"), but I suspect you'll have to
handcraft a replacement for the apple AppKit quicktime view anyway.
>
Really, unless it is natively supported (ie. Nextstep,
>
openstep or os X), the Foundation and Appkit frameworks are
>
much less useful or should only be used if you are willing
>
to run the extra apps that work with the frameworks to get
>
everything working. Certianly not good for writing apps for
>
the pc unless you are willing to force people to install all
>
these apps ...
Of course, you could always install those apps without telling the
user, and have them always running in the background without the user
knowing. Some cynics might claim this is 'bad practice', 'dangerous'
or 'an enormous security hole' but if it's good enough for
Microsoft's standard OS installs it's good enough for me ;-)
Simon
--
PGP Key ID : 0x50D0698D
--
If the answer isn\'t obvious, the question is a distraction. Go find
an easier question.