News for hackers. Stuff that matters.
Re:Apple’s A15 chip will ship with an objc_msgSend branch pr... by NobodyNada on Sunday May 30, 2021 @07:30PM (#27338043)
> Pretty much every method call, unless it is optimized

Do those get optimized now? As far as I know, objc_msgSend was never optimized out (as of a few years ago when I was doing iOS dev) because any method can be swizzled and replaced at runtime.

Re:Apple’s A15 chip will ship with an objc_msgSend branch pr... by mucholove on Sunday May 30, 2021 @07:56PM (#27338266)
There is some sort of devirtualization that might bypass it. When they announced, Twitter was going crazy about how it might kill ObjC dynamism.

However, what I was to was that you can store the method in a variable, and call it directly, thus bypassing objcMsgSend.

:)