Category: 3rd Party Software
Link: Preview Beta of XL C V6.0 and XL C++ V6.0 for Mac OS X. (IBM is preparing its industry-leading C, C++ and Fortran compilers to exploit the Apple PowerMac G5.)
Posted on MacBytes.com
Approved by arn
Originally posted by adamfilip
im going to assume that ibm and apple have been working on this and that apple has had their hands on a early version for panther.. there is no reason why apple wouldnt be in the loop..
Originally posted by centauratlas
I am about 99.99999999999999999999% sure that they wouldn't recompile Panther with it...
Originally posted by manu chao
To polish macbidouille's reputation a little bit, the first time I heard about this was in June (26?) when macbidouille reported that IBM would port its C++ and Fortran compilers to Mac OS X.
Originally posted by Sun Baked
Kool,
Possibility of a zippy-fast compiler for the G5 to replace the slug called GCC.
Should be interesting to see the comparison of the code generated between XL C6.0 and GCC 3.3 for OS X.
Originally posted by andyduncan
When you take the shotgun-approach to rumor publishing it's not like anyone can be suprised when you finally hit something.
Originally posted by centauratlas
I think (after reading the ars thread), that a big benefit will be re-compoling the OS with this. It looked like it wasn't only G5s that benefitted, but G4s and G3s could benefit slightly (e.g. very small %s) too.
Originally posted by andyduncan
When you take the shotgun-approach to rumor publishing it's not like anyone can be suprised when you finally hit something.
Originally posted by adamfilip
im going to assume that ibm and apple have been working on this and that apple has had their hands on a early version for panther.. there is no reason why apple wouldnt be in the loop..
Portions of an application can be built with XL C++ for Mac OS X and combined with portions built with gcc to produce an application that behaves as if it had been built solely with gcc.
Originally posted by Scott Smith
I got the xlc (the name of IBM's compile) to install and work on my G4 12" PB.
[ ... ]
The next is the optimizer turned on, but still scaler:
[TinyAl:~/Programs/altivec] jsmith% time xlc_test_scaler
0.010 sec
[TinyAl:~/Programs/altivec] jsmith% time gcc_test_scaler
6.090 sec
I am pretty sure that xlc was able to detect my "dumb" for loop, and only did it once. This just means that the optimizer is smarter. I did recompile it several times, and looked at the output to make sure I didn't make a mistake.
OS X isn't written in Objective C. The code base for the OS is from BSD 4.4, which is all C/C++. Objective C shows up in Cocoa; it's mainly used in the UI frameworks. Since most modern compilers have a frontend parser and a separate backend code generator, it wouldn't be that big a push to add an Objective C parser to the IBM compiler's code generator. Given how closely Apple and IBM have been working on the 970, I would think the Objective C parser is already in the works.Originally posted by manu chao
To polish macbidouille's reputation a little bit, the first time I heard about this was in June (26?) when macbidouille reported that IBM would port its C++ and Fortran compilers to Mac OS X.