• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Future of Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future of Cocoa


  • Subject: Re: Future of Cocoa
  • From: Saagar Jha via Cocoa-dev <email@hidden>
  • Date: Wed, 20 Nov 2019 14:46:28 -0800

I am curious why this optimization went in instead of guarded speculative
inlining, which would let you keep dynamism. Maybe that was too complicated to
implement or didn’t have the right performance characteristics. But I guess
this isn’t really the right list for discussing that…

Saagar Jha

> On Nov 20, 2019, at 14:27, Jens Alfke via Cocoa-dev
> <email@hidden> wrote:
>
>
>
>> On Nov 20, 2019, at 2:16 PM, Jean-Daniel via Cocoa-dev
>> <email@hidden> wrote:
>>
>> If Obj-C is dead, why is Apple still adding new language extensions (and not
>> minor one) ?
>>
>> https://github.com/llvm/llvm-project/commit/d4e1ba3fa9dfec2613bdcc7db0b58dea490c56b1
>>
>> <https://github.com/llvm/llvm-project/commit/d4e1ba3fa9dfec2613bdcc7db0b58dea490c56b1>
>
> Oh neat, this is basically non-virtual methods for Objective-C. Useful for
> optimization of internal methods — not just because the call is faster, but
> because the method body is now inlineable.
>
> I remember talk of this inside Apple way back when (early 2000s) but at the
> time IIRC it was considered too dangerous to be worth the performance gain.
> These days it's probably even more of a win because of LTO.
>
> —Jens
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Future of Cocoa
      • From: Jens Alfke via Cocoa-dev <email@hidden>
    • Re: Future of Cocoa
      • From: Jean-Daniel via Cocoa-dev <email@hidden>
References: 
 >Future of Cocoa (From: Turtle Creek Software via Cocoa-dev <email@hidden>)
 >Re: Future of Cocoa (From: Richard Charles via Cocoa-dev <email@hidden>)
 >Re: Future of Cocoa (From: Gerald Henriksen via Cocoa-dev <email@hidden>)
 >Re: Future of Cocoa (From: Jean-Daniel via Cocoa-dev <email@hidden>)
 >Re: Future of Cocoa (From: Jens Alfke via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Future of Cocoa
  • Next by Date: Re: Future of Cocoa
  • Previous by thread: Re: Future of Cocoa
  • Next by thread: Re: Future of Cocoa
  • Index(es):
    • Date
    • Thread