Re:Mulle-objc: A New Objective-C Compiler and Runtime
by ksherlock on Sunday November 27, 2016 @12:39PM
(#13050280)
Conceptually, it is:
IMP tmp = objc_msg_lookup(object, selector);
goto *tmp;
but C can't handle that (and even with gcc computed gotos you need to preserve any argument registers and not screw up the stack).objc_msgSend has a variable number of arguments and no way to determine how many there are.
Re:Mulle-objc: A New Objective-C Compiler and Runtime
by DHowett on Saturday November 26, 2016 @05:49PM
(#13046419)
It's the ... that's the hard part; I've explained a little more here: https://news.ycombinator.com/item?id=13046391.
Would you be willing to enlighten me?