 |
 |
CFM vs. Mach-o
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2003
Location: Felton, CA
Status:
Offline
|
|
What are the advantages of choosing one or the other? And can you access Quartz from CFM?
|
|
Trainiable is to cat as ability to live without food is to human.
Steveis... said: "What would scammers do with this info..." talking about a debit card number!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
CFM works on OS 9 as well as OS X. Mach-O is the native binary format on OS X.
Xcode Tools (including gcc, gdb, etc) only work with Mach-O. If you need CFM you'll have to use CodeWarrior, which is non-free (or possibly MPW in Classic, but you're letting yourself in for a world of pain).
You can use Quartz from CFM but it requires jumping through hoops.
Mach-O is recommended for new developments for OS X.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2003
Location: Felton, CA
Status:
Offline
|
|
I like CFM because it enables both Mac OS 9 and Mac OS X development. Now, usually, you can create your app in Xcode, compile as Mach-O, and compile as Carbon CFM using QuickDraw instead of Quartz, for OS 9 in CodeWarrior or MPW. (X should always use Quartz - QuickDraw is officially deprecated even though everyone uses it.) Because 25% or so of Mac users are still using OS 9.
|
|
Trainiable is to cat as ability to live without food is to human.
Steveis... said: "What would scammers do with this info..." talking about a debit card number!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally Posted by ryaxnb
I like CFM because it enables both Mac OS 9 and Mac OS X development. Now, usually, you can create your app in Xcode, compile as Mach-O, and compile as Carbon CFM using QuickDraw instead of Quartz, for OS 9 in CodeWarrior or MPW. (X should always use Quartz - QuickDraw is officially deprecated even though everyone uses it.) Because 25% or so of Mac users are still using OS 9.
How many of those are willing to pay for new software on their old OS 9 hardware? OS X has been out for 4 years. That's a long time.
Writing drawing code in both QuickDraw and Quartz is a ridiculous duplication of effort. Not "everyone" uses QD - new development certainly shouldn't since it's deprecated, and there are inherent benefits to using Quartz (especially with Apple's obvious investments into performance in this area in Tiger).
If you target OS 9 you won't be able to use any of the exciting new technologies which make OS X so great. The target market is actually probably quite small for OS 9 - if they haven't upgraded their hardware or OS in 4 years, are they really likely to buy your new program?
Developing for OS 9 doesn't make any sense to me in this day and age.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2003
Location: Felton, CA
Status:
Offline
|
|
I guess you're right. Starting 2005, I officially abandon support of OS 9 development (not that I develop myself.) There are still advantages to CFM though.
|
|
Trainiable is to cat as ability to live without food is to human.
Steveis... said: "What would scammers do with this info..." talking about a debit card number!
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
What advantages are there to CFM?
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Feb 2001
Location: Deer Crossing, CT
Status:
Offline
|
|
Originally Posted by Chuckit
What advantages are there to CFM?
There are fewer characters to type when compared to Mach-O. 
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status:
Offline
|
|
Originally Posted by PBG4 User
There are fewer characters to type when compared to Mach-O.

|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2003
Location: Felton, CA
Status:
Offline
|
|
No Optimizing on install, optimized more for RISC, allows you you to use codewarrior (which could also be negative,) easier to port old OS 9 apps.
I don't program, so these are just guesses.
(Last edited by ryaxnb; May 18, 2005 at 05:18 PM.
)
|
|
Trainiable is to cat as ability to live without food is to human.
Steveis... said: "What would scammers do with this info..." talking about a debit card number!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally Posted by ryaxnb
Easier to port to Windows,
How so? That makes no sense.
faster install, no Optimizing on install,
Firstly, why are you using an installer? Bad. Secondly, I'd rather have a slower install step than a slower runtime for ever. Thirdly, prebinding is going away so this is a non-issue.
optimized more for Windows,
How so? That makes no sense.
allows you you to use codewarrior (which could also be negative,)
CodeWarrior has been able to do Mach-O for years.
easier to port old OS 9 apps.
That doesn't make it better.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
How is CFM optimized for Windows? Windows doesn't use CFM or Mach-O binaries; it has its own format. I think it uses PE (not to be confused with PEF, which is sometimes used to refer to CFM).
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2000
Location: Edmonds, WA, USA
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|