Re: [MACTCL] No 64-bit Carbon = Problem for Tk Aqua?
by Jim Ingham other posts by this author
Jun 18 2007 9:42AM messages near this date
Re: [MACTCL] No 64-bit Carbon = Problem for Tk Aqua?
|
Re: [MACTCL] No 64-bit Carbon = Problem for Tk Aqua?
On Jun 18, 2007, at 1:12 AM, Kristoffer Lawson wrote:
>
> On 18 Jun 2007, at 07:04, Kevin Walzer wrote:
>
> > Let's set aside the issue of the major commercial Mac software
> > vendors,
> > such as Microsoft and Adobe, and the fact that their major
> > applications
> > are all Carbon. Has Apple given any consideration to the fact that
> > nearly every cross-platform GUI toolkit uses Carbon for its windowing
> > system API? Not just Tk, but Qt, wxWidgets, and RealBasic, for
> > starters.
> > Or perhaps they have given this thought, and want to discourage
> > cross-platform toolkits?
>
> But why do they use Carbon? Why not move to Cocoa in their cases as
> well? I can understand the move from Apple's point of view perfectly.
> In fact, it has been a public secret for years that Carbon will be
> deprecated at some point and that developers should use Cocoa. It's a
> lot of work to maintain to APIs and does not make much sense for
> Apple.
Cocoa is a higher level toolkit than Carbon. Tk wants to get it's
grubby paws on events much closer to the "raw" state than the Cocoa
model allows you to easily do. OTOH, Carbon is a pretty low-level
toolkit. So it was a better match for Tk. That's why when we were
originally doing the Mac OS X port I decided to go with Carbon rather
than rewriting it in Cocoa.
It could probably be done with Cocoa, but it would be more work, and
would probably require subverting what Cocoa wants you to do at
various points, so it is likely to be somewhat fragile. Moreover, it
would be a lot of work. If somebody wants to do this, it would
probably be a lot of fun, but it's not a weekend project...
>
> I can't really see the benefit in holding on tight to Carbon.
> Besides, purely from a user's perspective, Cocoa application in
> general feel more refined.
>
> / http://www.fishpool.com/~setok/
>
>
I don't think this would really be an issue with Tk. Much of what
gives Cocoa apps that nice feel "out of the box" would be stuff we
would be subverting to get down to the level at which Tk needs to
operate.
Jim
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Tcl-mac mailing list
> tcl-mac@[...].net
> https://lists.sourceforge.net/lists/listinfo/tcl-mac
Jim Ingham
Apple Developer Tools
Thread:
Kevin Walzer
Kevin Walzer
Bill Northcott
Jeff Hobbs
Bill Northcott
Kevin Walzer
Kristoffer Lawson
Kevin Walzer
Tim Jones
Jim DeVona
Tim Jones
Jim DeVona
Tim Jones
Kristoffer Lawson
Skytag
Skytag
Kristoffer Lawson
Skytag
Kevin Walzer
Skytag
Svenn Are Bjerkem
Kevin Walzer
Kristoffer Lawson
Kristoffer Lawson
Jon Guyer
Kevin Walzer
Jon Guyer
Jim Ingham
Kevin Walzer
Kristoffer Lawson
Kevin Walzer
Tim Jones
Kristoffer Lawson
Tim Jones
Adrian Robert
Tim Jones
|