Quantcast

Forums | MacLife

You are not logged in.

#1 2005-06-12 6:32 pm

existenz
Member
Registered: 2005-05-15
Posts: 49

Codewarrior vs. X Code

Can somebody explain in layman's terms why it is going to be so much harder for developers using Metrowerks Codewarrior to port their apps to Intel-based Macs, while X-Code developers will have few problems at all?

I know nothing about writing or recompiling code, I'm just baffled by the whole situation.  Can't Metrowerks simply release a Codewarrior update that makes the whole Intel switch much easier for their developers? Is this the end of Codewarrior, or will they adapt?

I would think a company that dedicates itself to development tools would know how to fix their own software to ease this transition.

Offline

 

#2 2005-06-12 6:36 pm

sosumi
numbery
Royal Wombat
From: North Mexico
Registered: 1999-02-21
Posts: 17513

Re: Codewarrior vs. X Code

The advantages of X Code are being played up because obviously Apple would prefer people to use their home grown development tools.  More than likely when it was said people with CodeWarrior are out of luck, it's because the current CodeWarrior can't create a universal binary or compile for Intel at all.  It's no fault of Metrowerks, they found the same day as the rest of the development community.  So I imagine Metrowerks just needs to retool CodeWarrior to make a universal binary and they'll be set.

Offline

 

#3 2005-06-12 6:38 pm

Y2Kevbug11
WHO IS KARIM GARCIA?
Registered: 2003-12-28
Posts: 762

Re: Codewarrior vs. X Code

I was gonna say: isn't Apple shutting out Metrowerks? Like, geeze.

Steve: So easy! Just stop using their app!

Not good. Apple shouda let Metrowerks know, because from what I hear, XCode isn't the best app anyway.

Offline

 

#4 2005-06-12 6:48 pm

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 50394
Website

Re: Codewarrior vs. X Code

Metrowerks will adapt.
A lot of developers prefer metrowerks because they can develop for os x, windows, and linux from the same project files.


In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor

Offline

 

#5 2005-06-12 8:49 pm

existenz
Member
Registered: 2005-05-15
Posts: 49

Re: Codewarrior vs. X Code

I think it is better for Apple and Apple customers if Metrowerks adapts, hopefully updating CodeWarrior in the next few months. Not every developer should have to move from Codewarrior to X Code for this transition; if they want to stick with Codewarrior, they should be allowed to.

I've just been somewhat confused by the news stories. They make it sound as if Codewarrior has some key problem that prevents it from ever being used for universal binaries or Intel-native software.  The Metrowerks guys probably know more about programming for Macs than anyone outside of Apple, so fixing this shouldn't be the biggest hurdle in the world.

Offline

 

#6 2005-06-12 9:03 pm

after-life
Member
Registered: 2003-12-25
Posts: 2370

Re: Codewarrior vs. X Code

It's just Apple not wanting to be dependent on them for the success of the platform. That's their whole rationale behind XCode.

Metrowerks creates tools for cross-platform development, so it will be relatively simple for them to support fat binaries in CodeWarrior. They handled the PPC transition very well.

Offline

 

#7 2005-06-12 11:02 pm

Thunderstruck
Goatee
From: West Melbourne, Vic
Registered: 2002-11-19
Posts: 2662
Website

Re: Codewarrior vs. X Code

Metrowerks was bought by Freescale a few years ago and I read somewhere that have no plans to support Intel processors. I think it was on slashdot but feel free to check for yourself.

Last edited by Thunderstruck (2005-06-12 11:25 pm)


iBook G4 | 12" | 40GB | 1.33GHz | 512MB | Combo | 10.4.3
iMac G4 | 15" | 40GB | 700MHz | 512MB | Combo | 10.4.2
Camino, official nightlies, G4 optimized nightlies & themes, CamiTools

Offline

 

#8 2005-06-12 11:25 pm

sparkn
Conspirator
From: South of Canada
Registered: 2000-03-01
Posts: 3058

Re: Codewarrior vs. X Code

Yep, Metrowerks made the split and moved over to Freescale.  Bought by Motorola and given to Freescale (sorta like AT&T "giving" the dial tone patent to Lucent Technologies).

Offline

 

#9 2005-06-12 11:37 pm

existenz
Member
Registered: 2005-05-15
Posts: 49

Re: Codewarrior vs. X Code

Thunderstruck wrote:

Metrowerks was bought by Freescale a few years ago and I read somewhere that have no plans to support Intel processors. I think it was on slashdot but feel free to check for yourself.

If that's the case, then I won't feel bad if they get left behind. Any sane company would offer their customers the ability to write code for new products, especially in a business that is always changing like this one.

I did see on MacinTouch.com that Metrowerks no longer offers Codewarrior for Intel. But I think the move of OS X to Intel-based systems should change that.  If they want to be a major player in this field for the next five years they will be on this as of yesterday.

Offline

 

#10 2005-06-13 12:36 am

caoimhin
Member
From: Gresham, Oregon, USA
Registered: 2001-02-08
Posts: 732
Website

Re: Codewarrior vs. X Code

From Metrowerks web site: Metrowerks

"Metrowerks recently sold its Intel x86 compiler and debugger technology to a third party. As a result, Metrowerks will no longer create and sell products that include this technology. Metrowerks will offer support for these products by hosting on-line discussions on newsgroups and on our web site.
This sale does not affect the right to use CodeWarrior or create x86 code by customers currently licensed to use CodeWarrior x86 compilers."

cry


caoimhin
Doing is my Acme

Offline

 

#11 2005-06-13 12:53 am

Marc
On the run from the MPAA
Registered: 2003-05-10
Posts: 13129

Re: Codewarrior vs. X Code

whoa on hindsite... I guess this is why Apple introduced, and wanted people using, XCode a long time ago


You know the hole, the one you put the pie in?
My mean my pie-hole?
Yeah, shut it.

Offline

 

#12 2005-06-13 1:07 am

after-life
Member
Registered: 2003-12-25
Posts: 2370

Re: Codewarrior vs. X Code

And why they pushed Mach-o.

PEF executables can't contain Intel code.

Offline

 

#13 2005-06-13 5:05 am

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 50394
Website

Re: Codewarrior vs. X Code

Thunderstruck wrote:

Metrowerks was bought by Freescale a few years ago and I read somewhere that have no plans to support Intel processors.

Oh wow - didn't know that.
Guess they no longer are of interest to OS X developers then ...


In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor

Offline

 

#14 2005-06-13 7:24 am

assassin_bill
International Bitch Maker
From: (__
Registered: 2003-08-06
Posts: 1293
Website

Re: Codewarrior vs. X Code

emacs wins... every time


Innovation will not be included in the intel switch

Offline

 

#15 2005-06-13 7:27 am

Thunderstruck
Goatee
From: West Melbourne, Vic
Registered: 2002-11-19
Posts: 2662
Website

Re: Codewarrior vs. X Code

I guess that answers any question regarding CodeWarrior support for the future of the Mac. Steve Jobs must've been well aware of the Metrowerks situation and the push to convert developers to XCode was a subtle hint that CW no longer supports Intel-based computers. Some people though may not be as aware and would've undoubtedly thought Apple was screwing one of their loyal supporters.


iBook G4 | 12" | 40GB | 1.33GHz | 512MB | Combo | 10.4.3
iMac G4 | 15" | 40GB | 700MHz | 512MB | Combo | 10.4.2
Camino, official nightlies, G4 optimized nightlies & themes, CamiTools

Offline

 

#16 2005-06-13 7:51 am

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 50394
Website

Re: Codewarrior vs. X Code

assassin_bill wrote:

emacs wins... every time

You're a good man.


In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor

Offline

 

#17 2005-06-13 10:59 am

Marc
On the run from the MPAA
Registered: 2003-05-10
Posts: 13129

Re: Codewarrior vs. X Code

your not a real programer unless you use the terminal on a UNIX box


You know the hole, the one you put the pie in?
My mean my pie-hole?
Yeah, shut it.

Offline

 

#18 2005-06-13 11:18 am

NAG
A witch!
Royal Wombat
From: /usr/local/apps/nag
Registered: 2000-09-22
Posts: 30229

Re: Codewarrior vs. X Code

I have a hard time seeing Codewarrior for mac make it out of this alive.


"You call *this* archaeology?" • Professor Henry Jones
http://homepage.mac.com/dpauw/.Pictures/misc/moron.gif

Offline

 

#19 2005-06-13 11:29 am

Jehannum
Banned
From: Albuquerque
Registered: 1999-07-24
Posts: 8404

Re: Codewarrior vs. X Code

assassin_bill wrote:

emacs wins... every time

VI for life!


"Goodness he just keeps going and going. He's like the energizer bunny of stupid." - Neut

Your powers are useless!  I'm wearing my tin-foil underwear!

Offline

 

#20 2005-06-13 12:00 pm

MysticCow
Junior Assistant Poobah (Probationary)
From: Somewhere
Registered: 2002-07-29
Posts: 3949

Re: Codewarrior vs. X Code

Let me see if I get this right (easy explanation).

You can make a program using either CodeWarrior or XCode.  Each program has its own advantages/disadvantages.  The problem is in transferring Codewarrior stuff to XCode.  Something wonky will rear its head, simply because of the program switch.  The trick becomes to find those few lines of wonky code and fix it.

Either that or people should have stopped using CodeWarrior when XCode came out, like Apple tried to tell everyone.

Offline

 

#21 2005-06-13 12:43 pm

Pariah
James Carville Fan..
From: Belly Of The Beast, Oklahoma!
Registered: 2001-05-24
Posts: 18406

Re: Codewarrior vs. X Code

I do all my programing in Apple Script smile


"and it's not surprising that they get bitter, they cling to guns or religion or antipathy to people who aren't like them or anti-immigrant sentiment or anti-trade sentiment as a way to explain their frustrations."
Barack Obama

Offline

 

#22 2005-06-13 12:57 pm

jerwin
Sophist
From: The Garden of Pure Ideology
Registered: 2003-01-01
Posts: 7062

Re: Codewarrior vs. X Code

after-life wrote:

And why they pushed Mach-o.

PEF executables can't contain Intel code.

I recall reading a rant blasting Apple for using such a RISC unfriendly format.

What do I mean by that? Mach-O ABI we see now used in Mac OS X is more or less a direct port of NeXT's Mach-O designed for m68k - it relies on PC (program counter) register to perform various manipulations with data (for the geeks: PC-relative addressing). There's nothing wrong with that, as its an effective and common practice, except for one little thing: there is no PC register in RISC processors (programmatically accessible). That is not a show-stopper though - Mach-O for PowerPC just takes one of 32 general purpose registers and turns it into a program counter-style register, to base all offset calculations off it. That works well, as you can see, as all of Mac OS X applications (except for the ones compiled with Carbon/CFM) use the Mach-O ABI.

That approach works well, except for one small thing: global/static data access adds about 7 cycle overhead per function, and about triple of that for cross-context calls (that is for the G4 class processor) compared to the old, Mac OS Classic ABI (excuse me for the geek talk). Mac OS Classic CFM ABI, in comparison, needed almost 0 cycles for static data access and about 5 for cross-context calls. To rephrase - applications in Mac OS X could be faster, if the Mach-O ABI followed the principles set for the PowerPC chip, and not the ones created over a decade ago for CISC ones.


Some subjects actually enjoy pain, and withhold information they might otherwise have divulged in order to be punished.
Central Intelligence Agency. (1983). Human Resource Exploitation Training Manual

Offline

 

#23 2005-06-13 8:18 pm

hollisterd
Member
From: La Habra, CA
Registered: 2002-02-13
Posts: 117
Website

Re: Codewarrior vs. X Code

Who the hell bought their x86 compiler?

Offline

 

#24 2005-06-13 8:26 pm

Thunderstruck
Goatee
From: West Melbourne, Vic
Registered: 2002-11-19
Posts: 2662
Website

Re: Codewarrior vs. X Code

[strike]Nokia bought the compiler.[/strike] Scratch that, they bought MW's symbian tools.

oh yeah, the piece I read wasn't on slashdot but it was macslash. close.

bah, no strike bbcode. down

Last edited by Thunderstruck (2005-06-13 8:30 pm)


iBook G4 | 12" | 40GB | 1.33GHz | 512MB | Combo | 10.4.3
iMac G4 | 15" | 40GB | 700MHz | 512MB | Combo | 10.4.2
Camino, official nightlies, G4 optimized nightlies & themes, CamiTools

Offline

 

#25 2005-06-13 8:30 pm

i think G4 imac
Member
From: !@#$%^&*()
Registered: 2000-05-25
Posts: 1084
Website

Re: Codewarrior vs. X Code

hollisterd wrote:

Who the hell bought their x86 compiler?

Apple wink


"I'm 430 pounds of internet fury.  When I die Pepsi/Frito-Lay stock will drop a point."

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson