New clear Objective-C

I have come here to chew bubblegum and write code ... and I'm all out of bubblegum.

Wednesday, February 08, 2006

-fnext-runtime vs. -fgnu-runtime smackdown, #5, hooks

The lights at the smackdown go dim and the local high school dance club puts on a show for the audience. In the dim lighting you notice that the GNU runtime interface and NeXT runtime interface look awfully similar.

objc_get_class and objc_getClass are functionally identical.
objc_getMetaClass and objc_get_meta_class are functionally identical.
__objc_execClass and __objc_exec_class are functionally identical.

I understand people are attached to their names. The new compiler flag -fobjc-enable-msgsend described in smackdown #2 would emit NeXT style, the default would emit GNU style. Seems fair.

0 Comments:

Post a Comment

<< Home