Re: Xcode 5 & Obj-C++
Re: Xcode 5 & Obj-C++
- Subject: Re: Xcode 5 & Obj-C++
- From: Uli Kusterer <email@hidden>
- Date: Thu, 30 Jan 2014 15:28:06 +0100
On 30 Jan 2014, at 15:09, Uli Kusterer <email@hidden> wrote:
> On 30 Jan 2014, at 01:28, Eric Wing <email@hidden> wrote:
>> - Often when comparing Obj-C vs. C++, method dispatch is one of the
>> main culprits for the performance difference. But don't forget, Obj-C
>> is a pure superset of C and you can always use good old C to get the
>> same performance benefits if you don't need/want the Obj-C features.
>> Other really high performance situations deal with cache and memory
>> layout and it turns out that much of the C++ standard library is not
>> well suited for dealing with this and going back to POD types and
>> essentially C (if not assembly) is often better for performance.
>
>
> Well, I'd rather use a barely-OO language like C++ than go down to procedural with C++ and get all those buffer overruns back ...
procedural with *C* I meant.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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