logoalt Hacker News

iainmerrickyesterday at 4:06 PM1 replyview on HN

Yeah, Objective-C++ is surprisingly great. It sounds like a terrible idea, but the bridging works pretty much seamlessly, and Obj-C and C++ don't actually overlap all that much so they don't step on each other's toes. Each language has strengths that shore up the weak spots in the other.


Replies

delta_p_delta_xyesterday at 4:13 PM

+1 to Objective-C++. It makes for some surprisingly clean, compact code, best of both worlds, really. And the bridging between ARC and CF types is really quite magical, more languages should have that ability to be expressed in an older language without stripping everything out.

I just wish there were Objective-C bindings for more CF classes without having to mess with C.