News for hackers. Stuff that matters.
Re:C++ in Coders at Work by jimbokun on Tuesday February 15, 2011 @09:21AM (#2221246)
"(great for GUIs, not so great for writing drivers)"

Probably the most succinct description of the relative strengths of Objective C and C++. Objective C for GUIs, C++ for drivers and embedded development.

Re:C++ in Coders at Work by bonch on Wednesday February 16, 2011 @12:43PM (#2227336)
NeXTStep drivers were written in Objective-C using a framework called DriverKit, and this was on 90s machines.

Objective-C is just C; there is no inherent performance penalty other than the dynamic dispatch of messages. In situations where that would actually be an issue, you'd be avoiding object-oriented features in C++ as well.

However, driver performance bottlenecks are typically in I/O throughput, not the language the driver was compiled in. The fact OS X drivers are written in a C++ subset likely has to do with the demands of device manufacturers coming over from MacOS 9, just like the existence of Carbon was to appease application developers like Adobe.