The Revival of Yellow Box?

kainjow

Registered
Cocoa on Windows

By giving [Xcode] for free, Apple and Jobs hope to give Windows developer a competing alternative to Microsoft's Visual Studio and thus 'contaminate' the Windows environment with Mac-compatible, objective-C applications, instead of letting WINE do just the reverse.
It is to be announced the very day when the first Intel Apple computer
is commercially launched.

Now the whole concept of "Universal Binaries" is much clearer!

We also need a French translator for the link in the article (fryke?) :)
 
kainjow said:
Cocoa on Windows




Now the whole concept of "Universal Binaries" is much clearer! :eek: :eek:

We also need a French translator for the link in the article (fryke?) :)

I don't believe this for a minute. To get Cocoa applications running under windows would take a lot of work on the programmers part, you can just expect a one-click compile for Windows compatibility. Wishful thinking, but it sometimes pays to dream!
 
AdmiralAK said:
Nextstep apps did not work in windows just like that.
No thinking person said they did. OpenSTEP apps on other operating systems ran on a virtual machine, but appear to the user as native apps.
 
sourcehound said:
I don't believe this for a minute. To get Cocoa applications running under windows would take a lot of work on the programmers part
So what? Programmers are not morally opposed to work. ;)

It takes a lot of work to port some of my REALbasic projects to Windows, too. That doesn't mean I won't do it, and it certainly doesn't mean I'm not very glad to have the ability.

I wouldn't expect such a thing to be as easy as recompiling (at least not in practice), but if Apple makes it possible and relatively easy, developers will take it from there.

Keep in mind that in the early days of OS X (then known as Rhapsody), Apple intended for Cocoa (then known as Yellow Box) to be a cross-platform API. For all you know they've been maintaining a Windows version all these years, just like they were maintaining an x86 version of OS X.

I'm not quite sure I believe it either, but I do think it's possible, and I also think it would be a very good move.
 
Why do you mean you need french translation? The first post in the thread's in English. And it doesn't say much... My guess is that Apple _has_ updated Cocoa for Windows continuously (why not, it's a great thing to have lying around...). Maybe they've even used it for iTunes on Windows. The porting of WebKit was also rumoured to have been part of the iTunes for Windows thing, but someone from Apple cleared that up (it's not Safari inside iTunes).
Basically: I think Apple will not in the near future port more apps to Windows, that'd be counterproductive. Also I don't see them give Cocoa for Windows out anytime soon. But that might just be a personal opinion/feeling kinda thing.
 
I thought openstep apps ran on any OS natively? Afterall, NeXT had openstep/cocoa running on solaris, windows nt, and mac os. Anybody remember openstep enterprise? I may be wrong i just thought that cocoa/openstep apps could run on top of any reasonably powerful operating system, natively.

This would be a great thing, i've already compiled several apps for both powerpc and intel processors, and it only took two modifications to the projects, alot easier than i thought! If this was true i would dance with joy, cocoa apps are far better than any windows apps, and to have windows users a choice of using cocoa is mind blowing. It sure would give the developer a much wider audience than just the mac users.

However one bad side of it, if windows users can use mac apps, why switch to a mac?
 
Yes, that's exactly what we're talking about here, whitesaint. The Yellow Box was Rhapsody's name for the openstep-package running on Windows (and Rhapsody both on intel and Mac hardware).
 
iTunes, the Finder and QuickTime Player are all Carbon. I'm assuming that the Finder will be rewritten from scratch soon. But then again, I've been assuming that for 4 years, and Apple has still barely touched the damned thing......*grumble*

I think it would be incredibly stupid for Apple to start releasing their own Cocoa apps for Windows. That's exactly the opposite of the impression I got when I heard about this. The biggest attraction to the Mac OS for many people is Apple's iApp suite.

Apple should not be encouraging Mac developers to port their programs to Windows. They need to promote the opposite. Delivering Cocoa and Xcode for Windows could help do that. It needs to be attractive to Windows developers who aren't interested in the Mac. Then when they start using Cocoa and they realize it would be easy to make a Mac version and cover the entire market, then hey, they will.

But I don't see what Apple has to gain by releasing their own programs for Windows. Safari would just make Apple look bad, because let's face it: the only reasons anyone uses Safari on the Mac are A) it's standard and B) the Mac version of Firefox sucks in several key ways.


If Apple starts porting their apps to Windows and encouraging their developers to do the same, then I'll be left with the feeling that Apple is looking to phase out the Mac OS entirely in 5-10 years. And I don't like that idea one bit.
 
Translation URL: http://translate.google.com/translate?hl=en&sl=fr&u=http://www.macbidouille.com/news/2005-12-01/ (last article on the page)

The translation is actually comprehensible (although still a bit of a chore to read). To summarize: They're saying that allowing OS X apps to run on Windows, using the OS X look & feel, would be a good way to give people using non-Apple PCs a taste of OS X while still keeping OS X locked to Apple's hardware. It would also attract Windows developers who want a way to make good cross-platform software, and would not elicit the ire of Microsoft as much as making OS X compete head-on with Windows.

I don't personally agree with that reasoning, but there's something to it.
 
I just noticed that, too. Well: _That_ story merely is a write-up of thoughts on how Apple could avoid people installing cracked versions of intel OS X on their PCs - and calls the revival of Yellow Box (Cocoa for Windows) a possible solution, because that way, people could use Mac applications without having to install OS X in the first place. (Failing completely to see that those people want to see OS X, not OS X' applications...)
 
Mikuro said:
iTunes, the Finder and QuickTime Player are all Carbon. I'm assuming that the Finder will be rewritten from scratch soon. But then again, I've been assuming that for 4 years, and Apple has still barely touched the damned thing......*grumble*
QuickTime Player, at least in Tiger, is Cocoa. I hope that the Finder is rewritten in Cocoa for Leopard. *Please be true*

Mikuro said:
But I don't see what Apple has to gain by releasing their own programs for Windows. Safari would just make Apple look bad, because let's face it: the only reasons anyone uses Safari on the Mac are A) it's standard and B) the Mac version of Firefox sucks in several key ways.
No one said Apple would be releasing their own apps for Windows besides Safari. Apple realizes Safari is the dominant browser for Mac OS X because it obeys both Aqua and Internet standards, unlike Firefox, IE, Opera, iCab :)p), etc etc. There is nothing like that for Windows. Firefox still sucks on Windows - it's not native enough. IE is native, but is a security hole and doesn't obey standards. If Cocoa on Windows uses 100% native Windows GUI, then Safari for Windows would be killer.
 
Maybe they've even used it for iTunes on Windows.

I'm not sure about iTunes, but I know for fact that QuickTime 7 is written in Cocoa, so this would imply that Apple have been maintaining some sort of Cocoa toolkit API for Windows. Whether this is in a form that is good enough for general release though is a mystery.

iTunes, the Finder and QuickTime Player are all Carbon.

Not true. As of QuickTime version 7, QuickTime has been completely rebuilt in Cocoa. Check the packages and see for yourself. :)
 
I stand corrected on QT7. I did not know that. Although it does still link the Carbon framework, so it's not 100% Cocoa. I notice that iTunes links the Cocoa framework, too, although I think it's still primarily Carbon. The line has been a bit blurred since I think Jaguar, when it became possible to use both Carbon and Cocoa in the same app.

Out of curiosity, what are the telltale signs within the packages? I'm poking through the binaries themselves in HexEdit to see what frameworks they link against. Is there a simpler way to tell?
 
The QuickTime Player in QuickTime 7 is a Cocoa application. QTKit is Cocoa. However, QuickTime itself uses Carbon.

Usually I can tell an app is Cocoa just by looking at the interface. Carbon is not as good looking. Also, 99% of all Cocoa apps use the same About window, which has text fields that are selectable. Carbon doesn't have this by default.
 
I'm thinking it's very easy to port apps to intel/powepc. Once written for Intel, im sure the apps could run on some existing cocoa framework. Afterall, not only is it processor independent, but kernel independent too of somesort. Steve Jobs spend a good amount of time making sure the cocoa framework ran on any operating system, including Mach/BSD.

you guys are all right on the money. I think Apple used some sort of carbon/cocoa hybrid to port itunes over, from what we know, they used the quicktime framework since the beginning when itunes was released. They're probably installing a little bit of frameworks to make these programs work no matter what processor or OS. just my 2 cents.
 
Back
Top