4 ms·
Sounds like undefined behavior, to be honest. No wonder Apple doesn't update GCC, they might just decide to optimize all the msgSend calls one day.
by stefan_ 7y ago
Sounds like undefined behavior, to be honest. No wonder Apple doesn't update GCC, they might just decide to optimize all the msgSend calls one day.
- Kwpolska 7y agoApple has migrated to clang/llvm a long time ago.
- Arcanum-XIII 7y agoApple use Clang - they’re one of the main contributor (also on LLVM if I’m not mistaken). And they’re optimizing the innard of Objective C too.
- microtherion 7y ago> Sounds like undefined behavior, to be honest. Quite the opposite — it's very precisely defined behavior if you bother to read the applicable standards. It's a rather useful exercise, and I'd recommend it to anyone who makes a living using a language.