You'd think there would be a preprocessor to take ObjC into C?
If anything, it would take ObjC into C++, I guess, since C lacks object-orientation. But since the syntax of ObjC is just so entirely different, I don't think it'd be easy to accomplish.
Well, IBM doesn't provide compilers for ObjC and ObjC++ that I know of.
At the moment there is only a "technology preview" with a bit of luck by the time tiger is out maybe there will be a full implementation. Fingers Crossed.
The speed boost to the system should be spectacular if Apple compiled the whole OS with these compilers.
Technology Previews -_OpenMP C/C++ V1.0 APIs and Objective-C
XL C/C++ includes a technology preview of OpenMP support._ OpenMP is a specification of industry-standard_APIs that support symmetric multiprocessor programming in C, C++, and Fortran. These APIs provide a simple and flexible interface for developing shared-memory parallel applications on any supporting platform.
XL C/C++ has been extended to support using the Objective-C programming language_to write_to the Cocoa frameworks.
If anything, it would take ObjC into C++, I guess, since C lacks object-orientation. But since the syntax of ObjC is just so entirely different, I don't think it'd be easy to accomplish.
Just so you know, the original objective-c compiler used to preprocess Obj-C into C code, Obj-C 'object' code all goes to a single function call with a method message and parameters.
Code:
[object methodaram];
turns into
Code:
objc_msgSend(object, methodid, param);
is the actual call that gets called. I believe gcc still does something like this internally, with better inlining etc. As an adjunct the IBM XL compiler has beta support for ObjectiveC compiling.
There is a Objective-C++ which allows a combination of Obj-C and C++ inside a single object. I haven't used it much though.
What will happen to the all new imac when OS X Tiger comes along?
what do you think will happen???? if you want tiger, you'll go out and buy it and put it on your iMac G5. And that's about it. I guess I dont understand the point to this thread.
i have a ibook g4 panther and g3 slot 640ram with 10.2 so what should i do, upgrade the g3 to panther, and when tiger comes out will panther then be at discount or just use my panther cd from my ibook to upgrade my g3
Comments
Originally posted by Scott
You'd think there would be a preprocessor to take ObjC into C?
If anything, it would take ObjC into C++, I guess, since C lacks object-orientation. But since the syntax of ObjC is just so entirely different, I don't think it'd be easy to accomplish.
Originally posted by Chucker
Well, IBM doesn't provide compilers for ObjC and ObjC++ that I know of.
At the moment there is only a "technology preview" with a bit of luck by the time tiger is out maybe there will be a full implementation. Fingers Crossed.
The speed boost to the system should be spectacular if Apple compiled the whole OS with these compilers.
Link: Details
Technology Previews -_OpenMP C/C++ V1.0 APIs and Objective-C
XL C/C++ includes a technology preview of OpenMP support._ OpenMP is a specification of industry-standard_APIs that support symmetric multiprocessor programming in C, C++, and Fortran. These APIs provide a simple and flexible interface for developing shared-memory parallel applications on any supporting platform.
XL C/C++ has been extended to support using the Objective-C programming language_to write_to the Cocoa frameworks.
Originally posted by Chucker
If anything, it would take ObjC into C++, I guess, since C lacks object-orientation. But since the syntax of ObjC is just so entirely different, I don't think it'd be easy to accomplish.
Just so you know, the original objective-c compiler used to preprocess Obj-C into C code, Obj-C 'object' code all goes to a single function call with a method message and parameters.
[object method
turns into
objc_msgSend(object, methodid, param);
is the actual call that gets called. I believe gcc still does something like this internally, with better inlining etc. As an adjunct the IBM XL compiler has beta support for ObjectiveC compiling.
There is a Objective-C++ which allows a combination of Obj-C and C++ inside a single object. I haven't used it much though.
Originally posted by nguzman
What will happen to the all new imac when OS X Tiger comes along?
what do you think will happen???? if you want tiger, you'll go out and buy it and put it on your iMac G5. And that's about it. I guess I dont understand the point to this thread.
Quicktime will be better.
Support, even for the lame 'Ultra', will be better for the GPU.
GCC 3.5 should make things faster 'en general.
64 bit increasingly optimised.
Add 2 gig of ram...and you won't care either way.
Make a great Photoshop machine.
Lemon Bon Bon
(Will we ever tire of this joke?)
when is it not worth going tiger???
Originally posted by MPMoriarty
Yeah, now that the PowerMac isn't the only Apple computer with a G5 in it, I do agree that we will start to see many more G5-optimized applications.
Mike
The PowerMac wasn't the only Apple computer with a G5 in it.
The XServe has been powered by the G5 for some time now.