Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Mac OS X Port

> Eclipse wouldn't run on older Macs because it uses Java 2 and Apple 
> has no plans to have Java 2 on a MacOS < 10.

SWT does not need Java2 - we are pretty careful about stuff like that.
If any Java2 code has crept in, I am sure it is minimal and isolated, and 
can be rewritten quickly if required.
Too bad Eclipse needs Java2.  Rats.  :(

> No, you get Aqua with Carbon on MacOS X, but you loose some of the 
> niceties of Cocoa (like really nice looking antialiased text).

I had read that you don't get it all, but I wasn't sure what you lost.
Thanks for clarifying that you get most of it.
What else are you giving up if you use Carbon-Aqua instead of Cocoa?
Anything important?

> Microsoft and many other companies are porting their apps to Carbon 
> only, not to Cocoa!
> And its not easy to spot the difference to Carbon apps!

Good news - makes sense to me.

Carolyn





Andre Weinand <weinand@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
11/14/2001 04:33 AM
Please respond to platform-swt-dev

 
        To:     platform-swt-dev@xxxxxxxxxxx
        cc: 
        Subject:        Re: [platform-swt-dev] Mac OS X Port


Carolyn wrote:
>I think you need to be absolutely certain that you don't care about 
>all the older Macs out there,
>because Cocoa won't work with older versions of the Mac OS.

Eclipse wouldn't run on older Macs because it uses Java 2 and Apple 
has no plans to have Java 2 on a MacOS < 10.

>
>The more I read about Cocoa (not just Java-Cocoa, any Cocoa), the 
>more it looks like an SWT peer to me (where peer == "same level", 
>not "AWT peer").
>As such, it is probably going to be difficult to port SWT to, 
>because of event loop issues and other random problems that come up 
>when you try to port on top of something that is really at the same 
>level as you, and has already solved all of the same problems that 
>you solved, possibly in different ways.

I found exactly these kinds of problems and gave up with Cocoa.

>(It would sure be more natural to port SWT to Carbon...

Yes, the Carbon event model is a good fit to SWT because its similar 
to the Windows API.

>but then, of course, you don't get Aqua...)

No, you get Aqua with Carbon on MacOS X, but you loose some of the 
niceties of Cocoa (like really nice looking antialiased text).
Microsoft and many other companies are porting their apps to Carbon 
only, not to Cocoa!
And its not easy to spot the difference to Carbon apps!

--andre
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev





Back to the top