Yep. People forget the Objective-C is a hybrid language, and the idea is to have fairly coarse-grain Software-ICs implemented in C, connected via message-sends. Also, object allocation, call/return style and keyed-accessing in all its forms are magnitude(s) worse than msg-send.
Objective-C is basically just NeXT/Apple COM, IMO. The differences between Obj-C and other COM-like systems are more details than substantive.
-
-
msgSend is IMO better than COM in a lot of key ways, though. For fairly small additional dispatch overhead you get a lot more ABI resilience and flexibility
-
Ehh, I don’t agree. The static vtables of COM are a lot friendlier (CPU BTBs are designed for that), and the monkey-patchability of Obj-C is brittle due to C types. (I don’t love COM either. I’d personally just use static dispatch and have dyld worry about monkey patching.)
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.