Skip to content

Comment on NSNotificationCenter with blocks considered harmfulparent

Comments

I didn't downvote you, but you directed a lot of loosely-connected negative assertions at a single target without really backing any of them up.

Whatever you intended, it came across as a bit of a rant.

when i mention the slowness of the message mechanism this is both by design of Objective-C (for runtime features) and very measurable. this is why, for example, NSArray becomes prohibitively slow when you want to iterate across 1000s of members.

Objective-C is nice, but its slow by design, and this rules it out in a concrete way for a lot of the work I've done.

Its sad when optimisation comes down to 'knowing better than the compiler' only because of language constraints. (even C has this problem with struct layout for example - its just prevalent when using Objective-C/Cocoa (Touch))

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.